Alex Bradbury via llvm-dev
2017-Dec-20 10:44 UTC
[llvm-dev] [GlobalISel] gen-global-isel failed to work
On 20 December 2017 at 09:51, Leslie Zhai via llvm-dev <llvm-dev at lists.llvm.org> wrote:> Sorry, I am apprentice of lowRISC, and meet new bug when porting GlobalISel > to RISCV target > https://github.com/xiangzhai/llvm/commit/b3f91ea54d9fee0ef7e73a32c6b8456bbe252811Hi Leslie. You're going to run into a challenge with GlobalISel and the RISC-V backend due to our use of variable-sized register classes (http://lists.llvm.org/pipermail/llvm-dev/2016-September/105027.html). I believe that neither GlobalISel or FastISel have been updated to support this concept. Best, Alex
Leslie Zhai via llvm-dev
2017-Dec-20 11:41 UTC
[llvm-dev] [GlobalISel] gen-global-isel failed to work
在 2017年12月20日 18:44, Alex Bradbury 写道:> On 20 December 2017 at 09:51, Leslie Zhai via llvm-dev > <llvm-dev at lists.llvm.org> wrote: >> Sorry, I am apprentice of lowRISC, and meet new bug when porting GlobalISel >> to RISCV target >> https://github.com/xiangzhai/llvm/commit/b3f91ea54d9fee0ef7e73a32c6b8456bbe252811 > Hi Leslie. You're going to run into a challenge with GlobalISel and > the RISC-V backend due to our use of variable-sized register classes > (http://lists.llvm.org/pipermail/llvm-dev/2016-September/105027.html). > I believe that neither GlobalISel or FastISel have been updated to > support this concept.I am reading the thread you mentioned in the mailing list, and I will try Krzysztof's patch, so it is an opportunity to hack lib/CodeGen just like RegAlloc :) http://lists.llvm.org/pipermail/llvm-dev/2017-December/119741.html> > Best, > > Alex-- Regards, Leslie Zhai - https://reviews.llvm.org/p/xiangzhai/