Improve D151719.
(xor (setcc constant, y, setlt), 1) -> (setcc y, constant + 1, setlt)
https://alive2.llvm.org/ce/z/BZNEia
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
revert the last commit.
I tried to set the related parent but it always failed, gave up for now.
I'll post next patch later. (Fold xor(setcc x, y, cond), 1 --> setcc (x, y, inverted(cond)))
I'm sorry to bother you all.
clang-format suggested style edits found: