Files
clang-p2996/llvm/lib/Transforms/InstCombine/InstCombineNegator.cpp
Roman Lebedev e465f9c303 [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.
2020-11-03 16:06:51 +03:00

21 KiB