aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-02-22 22:43:23 +0000
committerDan Gohman <gohman@apple.com>2010-02-22 22:43:23 +0000
commit6c5ac6de5c0605332cdb44218401b854ea8658c3 (patch)
tree9fb5a67c83a0383f5428503c49eff4a967236d38 /clang/lib/CodeGen/CodeGenModule.cpp
parent85ef93f13017b0ab86bda84651fb5bf88e3d0455 (diff)
downloadllvm-6c5ac6de5c0605332cdb44218401b854ea8658c3.zip
llvm-6c5ac6de5c0605332cdb44218401b854ea8658c3.tar.gz
llvm-6c5ac6de5c0605332cdb44218401b854ea8658c3.tar.bz2
Canonicalize ConstantInts to the right operand of commutative
operators. The test difference is just due to the multiplication operands being commuted (and thus requiring a more elaborate match). In optimized code, that expression would be folded. llvm-svn: 96816
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions