diff options
author | Changpeng Fang <changpeng.fang@amd.com> | 2024-11-07 14:15:33 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-07 14:15:33 -0800 |
commit | bdf8e308b7ea430f619ca3aa1199a76eb6b4e2d4 (patch) | |
tree | 8232eb6df2a0dea9b9b26b1f1dd975c7fba28ddc /llvm/lib/CodeGen/MachineFunction.cpp | |
parent | 7475156d49406785a974b1205d11fe3de9c1553e (diff) | |
download | llvm-bdf8e308b7ea430f619ca3aa1199a76eb6b4e2d4.zip llvm-bdf8e308b7ea430f619ca3aa1199a76eb6b4e2d4.tar.gz llvm-bdf8e308b7ea430f619ca3aa1199a76eb6b4e2d4.tar.bz2 |
AMDGPU: Don't avoid clamp of bit shift in BFE pattern (#115372)
Enable pattern matching from "x<<32-y>>32-y" to "bfe x, 0, y" when we
know y is in [0,31].
This is the follow-up for the PR:
https://github.com/llvm/llvm-project/pull/114279 to fix the issue:
https://github.com/llvm/llvm-project/issues/114282
Diffstat (limited to 'llvm/lib/CodeGen/MachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions