aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2022-03-19 16:31:15 +0000
committerSimon Pilgrim <llvm-dev@redking.me.uk>2022-03-19 16:31:19 +0000
commita6c18bfbe39dc494d18fb8e66b16d0e292ed25e4 (patch)
tree010fc450687148fde3afeb7d935ce64c1be1a844 /llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp
parent33d2c00814b27437a1681cc3d1fb5fa6ca7e1536 (diff)
downloadllvm-a6c18bfbe39dc494d18fb8e66b16d0e292ed25e4.zip
llvm-a6c18bfbe39dc494d18fb8e66b16d0e292ed25e4.tar.gz
llvm-a6c18bfbe39dc494d18fb8e66b16d0e292ed25e4.tar.bz2
[X86] combineSelect - don't constant fold BLENDV nodes like VSELECT
If a X86ISD::BLENDV op appears before legalization (in this test case due to the icmp_slt x, 0) its constant mask was being treated as a vselect mask (mask != 0) instead of blendv (mask < 0) This just prevents constant folding entirely for non-VSELECT ops.
Diffstat (limited to 'llvm/lib/Target/AMDGPU/AMDGPUMachineFunction.cpp')
0 files changed, 0 insertions, 0 deletions