[PATCH] D114499: [GlobalISel] Fold or of shifts to funnel shifts.
Abinav Puthan Purayil via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Nov 24 18:24:15 PST 2021
abinavpp added inline comments.
================
Comment at: llvm/test/CodeGen/AMDGPU/GlobalISel/combine-fsh.mir:17
+ ; CHECK-NEXT: %bw:_(s32) = G_CONSTANT i32 32
+ ; CHECK-NEXT: %or:_(s32) = G_FSHL %a, %b, %bw(s32)
+ ; CHECK-NEXT: $vgpr3 = COPY %or(s32)
----------------
foad wrote:
> Huh? The funnel shift amount should surely be %amt not %bw.
D'oh!
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D114499/new/
https://reviews.llvm.org/D114499
More information about the llvm-commits
mailing list