mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 11:13:28 +01:00
274ef2efad
Summary: This patch makes EarlyCSE fold equivalent freeze instructions. Another optimization that I think will be useful is to remove freeze if its operand is used as a branch condition or at llvm.assume: ``` %c = ... br i1 %c, label %A, .. A: %d = freeze %c ; %d can be optimized to %c because %c cannot be poison or undef (or 'br %c' would be UB otherwise) ``` If it make sense for EarlyCSE to support this as well, I will make a patch for this. Reviewers: spatel, reames, lebedev.ri Reviewed By: lebedev.ri Subscribers: lebedev.ri, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D75334 |
||
---|---|---|
.. | ||
AArch64 | ||
AMDGPU | ||
PowerPC | ||
X86 | ||
and_or.ll | ||
atomics.ll | ||
basic.ll | ||
commute.ll | ||
conditional.ll | ||
const-speculation.ll | ||
debug-info-undef.ll | ||
debuginfo-dce.ll | ||
edge.ll | ||
fence.ll | ||
flags.ll | ||
floatingpoint.ll | ||
globalsaa-memoryssa.ll | ||
guards.ll | ||
instsimplify-dom.ll | ||
int_sideeffect.ll | ||
invariant-loads.ll | ||
invariant.start.ll | ||
memoryssa.ll | ||
pr33406.ll | ||
readnone-mayunwind.ll | ||
writeonly.ll |