[llvm] [GISel] Legalize bitreverse with types smaller than 8 bits (PR #92998)

Matt Arsenault via llvm-commits llvm-commits at lists.llvm.org
Wed May 22 05:19:22 PDT 2024


================
@@ -7975,6 +7975,8 @@ LegalizerHelper::LegalizeResult
 LegalizerHelper::lowerBitreverse(MachineInstr &MI) {
   auto [Dst, Src] = MI.getFirst2Regs();
   const LLT Ty = MRI.getType(Src);
+  // FIXME: It should be getScalarSizeInBits. Please fix this when vector
+  // support is complete.
----------------
arsenm wrote:

should just change it now 

https://github.com/llvm/llvm-project/pull/92998


More information about the llvm-commits mailing list