summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2018-08-08 15:44:56 +0000
committerSanjay Patel <spatel@rotateright.com>2018-08-08 15:44:56 +0000
commitabd4767a0d6e3dbf718719a06ce445e22d24cb7d (patch)
tree965574208a8e6a72292de4d2fcef2c0b06fda81e /clang/lib/CodeGen
parent4d4220fa2a90fd4bdc4432c7679dc28115811082 (diff)
downloadbcm5719-llvm-abd4767a0d6e3dbf718719a06ce445e22d24cb7d.tar.gz
bcm5719-llvm-abd4767a0d6e3dbf718719a06ce445e22d24cb7d.zip
[InstCombine] add tests for fsub folds; NFC
The scalar cases are handled in instcombine's internal reassociation pass for FP ops, but it misses the vector types. These patterns are similar to what was handled in InstSimplify in: https://reviews.llvm.org/rL339171 https://reviews.llvm.org/rL339174 https://reviews.llvm.org/rL339176 ...but we can't use instsimplify on these because we require negation of the original operand. llvm-svn: 339263
Diffstat (limited to 'clang/lib/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud