aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Reader/BitcodeReader.h
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 /llvm/lib/Bitcode/Reader/BitcodeReader.h
parent292e98cc182d9f651f8366c0f3670ddf87bb1f6d (diff)
downloadllvm-f6ccd2580c14feb4b76239e247ade45898823598.zip
llvm-f6ccd2580c14feb4b76239e247ade45898823598.tar.gz
llvm-f6ccd2580c14feb4b76239e247ade45898823598.tar.bz2
"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 'llvm/lib/Bitcode/Reader/BitcodeReader.h')
0 files changed, 0 insertions, 0 deletions