commit | 4a6bd33da0e30c26568baf3ad6c94d1f497e5ea7 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Sat Jul 29 01:57:19 2006 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Sat Jul 29 01:57:19 2006 +0000 |
tree | ebbb4ef9189921840870d1eca4768caae7e4c3d4 | |
parent | 03a4605d87909bec6ee84c5ada4db41f4b772fd9 [diff] |
Instead of blindly looking past constantexpr casts, actually constant fold them. This correctly truncates constants that are too large for the destination slot and makes the code easier to understand. This fixes PR853 and Regression/CodeGen/X86/2006-07-28-AsmPrint-Long-As-Pointer.ll git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@29408 91177308-0d34-0410-b5e6-96231b3b80d8