diff options
author | Sanjay Patel <spatel@rotateright.com> | 2018-04-05 23:21:15 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2018-04-05 23:21:15 +0000 |
commit | 04683de82f5d6812555a5ddf6983ee4b67b76be3 (patch) | |
tree | 85569746462ca8f625c2fdb8355cac2805cb541f /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | b4e3129356f8f24ddcbbf30c09783581b1627a37 (diff) | |
download | bcm5719-llvm-04683de82f5d6812555a5ddf6983ee4b67b76be3.tar.gz bcm5719-llvm-04683de82f5d6812555a5ddf6983ee4b67b76be3.zip |
[InstCombine] FP: Z - (X - Y) --> Z + (Y - X)
This restores what was lost with rL73243 but without
re-introducing the bug that was present in the old code.
Note that we already have these transforms if the ops are
marked 'fast' (and I assume that's happening somewhere in
the code added with rL170471), but we clearly don't need
all of 'fast' for these transforms.
llvm-svn: 329362
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions