diff options
author | Roman Lebedev <lebedev.ri@gmail.com> | 2020-08-05 21:20:47 +0300 |
---|---|---|
committer | Roman Lebedev <lebedev.ri@gmail.com> | 2020-08-05 21:47:30 +0300 |
commit | f3056dcc02d5dcde1669f61084a940e1ded3dfda (patch) | |
tree | 28626140da338c46b1408d80c5ddd1729a415f2e /llvm/lib/CodeGen/MachineBasicBlock.cpp | |
parent | 1d25d0734a15d03f1356735719e04a517a1a8a96 (diff) | |
download | llvm-f3056dcc02d5dcde1669f61084a940e1ded3dfda.zip llvm-f3056dcc02d5dcde1669f61084a940e1ded3dfda.tar.gz llvm-f3056dcc02d5dcde1669f61084a940e1ded3dfda.tar.bz2 |
[InstCombine] Negator: -(cond ? x : -x) --> cond ? -x : x
We were errneously only doing that for old-style abs/nabs,
but we have no such legality check on the condition of the select.
https://rise4fun.com/Alive/xBHS
Diffstat (limited to 'llvm/lib/CodeGen/MachineBasicBlock.cpp')
0 files changed, 0 insertions, 0 deletions