]> granicus.if.org Git - llvm/commit
AMDGPU: Add additional MIR tests for exec mask optimizations
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 27 Mar 2019 16:58:30 +0000 (16:58 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Wed, 27 Mar 2019 16:58:30 +0000 (16:58 +0000)
commit44ee20512e2bc8047d5e601803d9e59080860142
tree766d00a20415e46535994bcbdadc932eb7192b16
parent99267d8b98c4e857ef61070253c0b76f4f5ebcab
AMDGPU: Add additional MIR tests for exec mask optimizations

Also includes one example of how this transform is unsound. This isn't
verifying the copies are used in the control flow intrinisic patterns.

Also add option to disable exec mask opt pass. Since this pass is
unsound, it may be useful to turn it off until it is fixed.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@357091 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
test/CodeGen/AMDGPU/collapse-endcf-broken.mir [new file with mode: 0644]
test/CodeGen/AMDGPU/collapse-endcf.ll
test/CodeGen/AMDGPU/collapse-endcf.mir