Skip to content
Commit 80263aad authored by Reid Spencer's avatar Reid Spencer
Browse files

Refactor several ConstantExpr::getXXX calls with ConstantInt arguments

using the facilities of APInt. While this duplicates a tiny fraction of
the constant folding code, it also makes the code easier to read and
avoids large ConstantExpr overhead for simple, known computations.

llvm-svn: 35335
parent 26ad3e71
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment