summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2010-03-04 06:54:10 +0000
committerNick Lewycky <nicholas@mxc.ca>2010-03-04 06:54:10 +0000
commit1a7ed5868b754c31aabc5614fe6dd0535b095904 (patch)
treed64ac376d7d3e8e2c51531c6ae6a4a2d258d540a /clang/lib/CodeGen/CodeGenModule.cpp
parent391aad6327f5b62630fca56f82a6c994d6dd3c8c (diff)
downloadbcm5719-llvm-1a7ed5868b754c31aabc5614fe6dd0535b095904.tar.gz
bcm5719-llvm-1a7ed5868b754c31aabc5614fe6dd0535b095904.zip
Make the 'icmp pred trunc(ext(X)), CST --> icmp pred X, ext(trunc(CST))'
transformation much more careful. Truncating binary '01' to '1' sounds like it's safe until you realize that it switched from positive to negative under a signed interpretation, and that depends on the icmp predicate. Also a few miscellaneous cleanups. llvm-svn: 97721
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud