aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorAbinav Puthan Purayil <abinav.puthanpurayil@amd.com>2021-11-08 11:05:22 +0530
committerAbinav Puthan Purayil <abinav.puthanpurayil@amd.com>2021-11-24 10:53:12 +0530
commit078da26b1ce3e509b9705bba95686e4ef8b8e480 (patch)
tree5b5952b83eacdf74af9a4133b48d2eae0f087370 /llvm/lib/Transforms/Utils/LoopUtils.cpp
parent8cdf1c1edb937b192d162f299127fad8d9dc0faa (diff)
downloadllvm-078da26b1ce3e509b9705bba95686e4ef8b8e480.zip
llvm-078da26b1ce3e509b9705bba95686e4ef8b8e480.tar.gz
llvm-078da26b1ce3e509b9705bba95686e4ef8b8e480.tar.bz2
[AMDGPU] Check for unneeded shift mask in shift PatFrags.
The existing constrained shift PatFrags only dealt with masked shift from OpenCL front-ends. This change copies the X86DAGToDAGISel::isUnneededShiftMask() function to AMDGPU and uses it in the shift PatFrag predicates. Differential Revision: https://reviews.llvm.org/D113448
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions