diff options
author | Sanjay Patel <spatel@rotateright.com> | 2019-04-08 21:23:50 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2019-04-08 21:23:50 +0000 |
commit | 773e04c88366b86a4285f296ab6d632597f07db8 (patch) | |
tree | 46747a671f3704d6831098c99c2670928f91eafb /llvm/tools/llvm-readobj/Error.cpp | |
parent | 9f74df7d5bcd63302e4b8bfb609ed6cb1f0ae9d7 (diff) | |
download | bcm5719-llvm-773e04c88366b86a4285f296ab6d632597f07db8.tar.gz bcm5719-llvm-773e04c88366b86a4285f296ab6d632597f07db8.zip |
[InstCombine] peek through fdiv to find a squared sqrt
A more general canonicalization between fdiv and fmul would not
handle this case because that would have to be limited by uses
to prevent 2 values from becoming 3 values:
(x/y) * (x/y) --> (x*x) / (y*y)
(But we probably should still have that limited -- but more general --
canonicalization independently of this change.)
llvm-svn: 357943
Diffstat (limited to 'llvm/tools/llvm-readobj/Error.cpp')
0 files changed, 0 insertions, 0 deletions