summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/ptrtoint-constexpr.ll
Commit message (Collapse)AuthorAgeFilesLines
* Canonicalize ConstantInts to the right operand of commutativeDan Gohman2010-02-221-1/+1
| | | | | | | | | | 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
* When CodeGen'ing unoptimized code, there may be unfolded constant expressionsDan Gohman2010-02-081-0/+6
| | | | | | | | | in global initializers. Instead of aborting, attempt to fold them on the spot. If folding succeeds, emit the folded expression instead. This fixes PR6255. llvm-svn: 95583
* Change constantexpr global variable initializers to convert the constantsChris Lattner2010-01-231-1/+1
| | | | | | | to MCExpr then emit them through MCStreamer with EmitValue. I think all global variable initializers are now going through mcstreamer. llvm-svn: 94293
* Eliminate more uses of llvm-as and llvm-dis.Dan Gohman2009-09-081-1/+1
| | | | llvm-svn: 81290
* fix a problem Eli noticed where we would compile the attached ptrtointChris Lattner2009-08-011-0/+8
to: .quad X even on a 32-bit system, where X is not 64-bits. There isn't much that we can do here, so we just print: .quad ((X) & 4294967295) instead. llvm-svn: 77818
OpenPOWER on IntegriCloud