summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorNick Lewycky <nicholas@mxc.ca>2008-05-25 20:56:15 +0000
committerNick Lewycky <nicholas@mxc.ca>2008-05-25 20:56:15 +0000
commitf6ccd2580c14feb4b76239e247ade45898823598 (patch)
treea2d9dff1a485044d3af3f356b45000466aa241d4 /clang/lib/CodeGen/CodeGenModule.cpp
parent292e98cc182d9f651f8366c0f3670ddf87bb1f6d (diff)
downloadbcm5719-llvm-f6ccd2580c14feb4b76239e247ade45898823598.tar.gz
bcm5719-llvm-f6ccd2580c14feb4b76239e247ade45898823598.zip
"ret (constexpr)" can't be folded into a Constant. Add a method to
Analysis/ConstantFolding to fold ConstantExpr's, then make instcombine use it to try to use targetdata to fold constant expressions on void instructions. Also extend the icmp(inttoptr, inttoptr) folding to handle the case where int size != ptr size. llvm-svn: 51559
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud