[PATCH] D41292: [AMDGPU] Fixed incorrect uniform branch condition

Tim Renouf via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Dec 16 14:14:47 PST 2017


tpr updated this revision to Diff 127258.
tpr added a comment.

V2: Always add the s_and. We should add a later pass to remove it when it is not needed.


https://reviews.llvm.org/D41292

Files:
  lib/Target/AMDGPU/AMDGPUISelDAGToDAG.cpp
  test/CodeGen/AMDGPU/branch-relaxation.ll
  test/CodeGen/AMDGPU/cf-loop-on-constant.ll
  test/CodeGen/AMDGPU/nested-loop-conditions.ll
  test/CodeGen/AMDGPU/scalar-branch-missing-and-exec.ll
  test/CodeGen/AMDGPU/select-opt.ll
  test/CodeGen/AMDGPU/skip-if-dead.ll
  test/CodeGen/AMDGPU/smrd-vccz-bug.ll
  test/CodeGen/AMDGPU/uniform-cfg.ll

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D41292.127258.patch
Type: text/x-patch
Size: 7937 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20171216/d9f9ada1/attachment.bin>


More information about the llvm-commits mailing list