Also adds FewerElements support for G_TRUNC. The switch case was present but the type index was always being rejected by the helper.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
llvm/include/llvm/CodeGen/GlobalISel/LegalizerHelper.h | ||
---|---|---|
165–166 | I'm not sure why all of these lines changed? | |
llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp | ||
3941–3947 | I think this deserves to be split into a separate patch | |
3945 | This doesn't do anything, I assume this should have a NewNarrowTy = | |
llvm/test/CodeGen/AArch64/GlobalISel/legalize-vector-icmp.mir | ||
1959 | Can you add a case with an <8 x s32> icmp result type |
Comment Actions
I've decided to use custom legalization for this particular case in D88191, abandoning this change but I might revive it in another form later.
I'm not sure why all of these lines changed?