We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 949ef57 commit 4e251e7Copy full SHA for 4e251e7
llvm/lib/CodeGen/GlobalISel/LegalizerHelper.cpp
@@ -8013,7 +8013,7 @@ LegalizerHelper::lowerBitreverse(MachineInstr &MI) {
8013
Tmp2 = MIRBuilder.buildLShr(Ty, Src, ShAmt);
8014
}
8015
8016
- auto Mask = MIRBuilder.buildConstant(Ty, 1U << J);
+ auto Mask = MIRBuilder.buildConstant(Ty, 1ULL << J);
8017
Tmp2 = MIRBuilder.buildAnd(Ty, Tmp2, Mask);
8018
if (I == 0)
8019
Tmp = Tmp2;
0 commit comments