aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Object/WasmObjectFile.cpp
diff options
context:
space:
mode:
authorPhilip Reames <listmail@philipreames.com>2021-05-03 16:35:47 -0700
committerPhilip Reames <listmail@philipreames.com>2021-05-03 16:40:56 -0700
commite38ccb729b205b076356684e055efb7dfc673963 (patch)
tree14de6620fb300fa3542a0814eee247b2030ddfb8 /llvm/lib/Object/WasmObjectFile.cpp
parent2df3426fd15e41880c2da1484b560cd9c5f1f842 (diff)
downloadllvm-e38ccb729b205b076356684e055efb7dfc673963.zip
llvm-e38ccb729b205b076356684e055efb7dfc673963.tar.gz
llvm-e38ccb729b205b076356684e055efb7dfc673963.tar.bz2
Recommit "Generalize getInvertibleOperand recurrence handling slightly"
This was reverted because of a reported problem. It turned out this patch didn't introduce said problem, it just exposed it more widely. 15a4233 fixes the root issue, so this simple a) rebases over that, and b) adds a much more extensive comment explaining why that weakened assert is correct. Original commit message follows: Follow up to D99912, specifically the revert, fix, and reapply thereof. This generalizes the invertible recurrence logic in two ways: * By allowing mismatching operand numbers of the phi, we can recurse through a pair of phi recurrences whose operand orders have not been canonicalized. * By allowing recurrences through operand 1, we can invert these odd (but legal) recurrence. Differential Revision: https://reviews.llvm.org/D100884
Diffstat (limited to 'llvm/lib/Object/WasmObjectFile.cpp')
0 files changed, 0 insertions, 0 deletions