diff options
author | Duncan Sands <baldrick@free.fr> | 2011-05-07 16:56:49 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2011-05-07 16:56:49 +0000 |
commit | af32728a57e2092de84cad8c9479795a97a2b33c (patch) | |
tree | 155a0b6ff6fd5330031cd361f9dc70e84180105d /clang/lib/CodeGen/CodeGenModule.cpp | |
parent | 1e3db02bda30bc8529f3ceda63c2238cbce6cbae (diff) | |
download | bcm5719-llvm-af32728a57e2092de84cad8c9479795a97a2b33c.tar.gz bcm5719-llvm-af32728a57e2092de84cad8c9479795a97a2b33c.zip |
The comparision "max(x,y)==x" is equivalent to "x>=y". Since the max is
often expressed as "x >= y ? x : y", there is a good chance we can extract
the existing "x >= y" from it and use that as a replacement for "max(x,y)==x".
llvm-svn: 131049
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions