aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorRoman Lebedev <lebedev.ri@gmail.com>2020-11-03 13:34:38 +0300
committerRoman Lebedev <lebedev.ri@gmail.com>2020-11-03 16:06:51 +0300
commite465f9c3036b28bdbdbef03eee8fd022a3b6dcbf (patch)
tree1459aa8d6838cc19c6b7557d6f1e1f5bb8a5db0f /clang/lib/CodeGen/CodeGenModule.cpp
parentf8cf6d027b54e0c2a3804e272a6d3ace95952ef9 (diff)
downloadllvm-e465f9c3036b28bdbdbef03eee8fd022a3b6dcbf.zip
llvm-e465f9c3036b28bdbdbef03eee8fd022a3b6dcbf.tar.gz
llvm-e465f9c3036b28bdbdbef03eee8fd022a3b6dcbf.tar.bz2
[InstCombine] Negator: - (C - %x) --> %x - C (PR47997)
This relaxes one-use restriction on that `sub` fold, since apparently the addition of Negator broke preexisting `C-(C2-X) --> X+(C-C2)` (with C=0) fold.
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions