[all-commits] [llvm/llvm-project] a6b54d: [Local] invertCondition: try modifying an existing...
Jay Foad via All-commits
all-commits at lists.llvm.org
Mon Jan 31 02:46:31 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a6b54ddaba2d5dc0f72dcc4591c92b9544eb0016
https://github.com/llvm/llvm-project/commit/a6b54ddaba2d5dc0f72dcc4591c92b9544eb0016
Author: Jay Foad <jay.foad at amd.com>
Date: 2022-01-31 (Mon, 31 Jan 2022)
Changed paths:
M llvm/lib/Transforms/Utils/Local.cpp
M llvm/test/CodeGen/AMDGPU/GlobalISel/divergent-control-flow.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/sdiv.i64.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/srem.i64.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/udiv.i64.ll
M llvm/test/CodeGen/AMDGPU/GlobalISel/urem.i64.ll
M llvm/test/CodeGen/AMDGPU/branch-relaxation.ll
M llvm/test/CodeGen/AMDGPU/ctpop16.ll
M llvm/test/CodeGen/AMDGPU/insert_vector_elt.ll
M llvm/test/CodeGen/AMDGPU/loop_break.ll
M llvm/test/CodeGen/AMDGPU/multi-divergent-exit-region.ll
M llvm/test/CodeGen/AMDGPU/multilevel-break.ll
M llvm/test/CodeGen/AMDGPU/nested-loop-conditions.ll
M llvm/test/CodeGen/AMDGPU/optimize-negated-cond.ll
M llvm/test/CodeGen/AMDGPU/ret_jump.ll
M llvm/test/CodeGen/AMDGPU/sgpr-control-flow.ll
M llvm/test/CodeGen/AMDGPU/sgpr-copy.ll
M llvm/test/CodeGen/AMDGPU/wave32.ll
M llvm/test/Transforms/StructurizeCFG/AMDGPU/loop-subregion-misordered.ll
M llvm/test/Transforms/StructurizeCFG/bug36015.ll
M llvm/test/Transforms/StructurizeCFG/invert-constantexpr.ll
M llvm/test/Transforms/StructurizeCFG/one-loop-multiple-backedges.ll
M llvm/test/Transforms/StructurizeCFG/post-order-traversal-bug.ll
Log Message:
-----------
[Local] invertCondition: try modifying an existing ICmpInst
This avoids various cases where StructurizeCFG would otherwise insert an
xor i1 instruction, and it since it generally runs late in the pipeline,
instcombine does not clean up the xor-of-cmp pattern.
Differential Revision: https://reviews.llvm.org/D118478
More information about the All-commits
mailing list