summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/constants.ll
Commit message (Collapse)AuthorAgeFilesLines
* AsmPrinter: Use emitGlobalConstantFP to emit elements of constant dataJustin Bogner2015-12-081-3/+3
| | | | | | | | | | It's strange to duplicate the logic for emitting FP values into emitGlobalConstantDataSequential, and it's even stranger that we end up printing the verbose assembly comments differently between the two paths. Just call into emitGlobalConstantFP rather than crudely duplicating its logic. llvm-svn: 254988
* Fix constant folding through bitcasts by no longer relying on undefined ↵Kristof Beyls2012-09-121-0/+10
| | | | | | | | | | | | behaviour (converting NaN values between float and double). SelectionDAG::getConstantFP(double Val, EVT VT, bool isTarget); should not be used when Val is not a simple constant (as the comment in SelectionDAG.h indicates). This patch avoids using this function when folding an unknown constant through a bitcast, where it cannot be guaranteed that Val will be a simple constant. llvm-svn: 163703
* Don't add CFG edges for redundant conditional branches.Jakob Stoklund Olesen2012-08-201-1/+1
| | | | | | | | | | | | | IR that hasn't been through SimplifyCFG can look like this: br i1 %b, label %r, label %r Make sure we don't create duplicate Machine CFG edges in this case. Fix the machine code verifier to accept conditional branches with a single CFG edge. llvm-svn: 162230
* Simplify printing of ARM shifted immediates.Jim Grosbach2011-07-111-5/+5
| | | | | | | | | Print shifted immediate values directly rather than as a payload+shifter value pair. This makes for more readable output assembly code, simplifies the instruction printer, and is consistent with how Thumb immediates are displayed. llvm-svn: 134902
* Needs a triple.Nick Lewycky2011-06-221-1/+1
| | | | llvm-svn: 133634
* Emit trailing padding on constant vectors when TargetData says that the vectorNick Lewycky2011-06-221-0/+13
| | | | | | is larger than the sum of the elements (including per-element padding). llvm-svn: 133631
* Fix test-llvm failures.Johnny Chen2011-04-051-5/+5
| | | | llvm-svn: 128906
* Roll r127459 back in:Cameron Zwarich2011-03-111-1/+1
| | | | | | | | | | | Optimize trivial branches in CodeGenPrepare, which often get created from the lowering of objectsize intrinsics. Unfortunately, a number of tests were relying on llc not optimizing trivial branches, so I had to add an option to allow them to continue to test what they originally tested. This fixes <rdar://problem/8785296> and <rdar://problem/9112893>. llvm-svn: 127498
* Revert r127459, "Optimize trivial branches in CodeGenPrepare, which often getDaniel Dunbar2011-03-111-1/+1
| | | | | | created from the", it broke some GCC test suite tests. llvm-svn: 127477
* Optimize trivial branches in CodeGenPrepare, which often get created from theCameron Zwarich2011-03-111-1/+1
| | | | | | | | | | lowering of objectsize intrinsics. Unfortunately, a number of tests were relying on llc not optimizing trivial branches, so I had to add an option to allow them to continue to test what they originally tested. This fixes <rdar://problem/8785296> and <rdar://problem/9112893>. llvm-svn: 127459
* tidy upJim Grosbach2010-10-221-3/+2
| | | | llvm-svn: 117185
* tweak test to check instructions rather than relying on the comment stringJim Grosbach2010-09-171-4/+4
| | | | llvm-svn: 114199
* Fix some more failures by converting to FileCheck.Bob Wilson2009-10-271-10/+15
| | | | llvm-svn: 85207
* Eliminate more uses of llvm-as and llvm-dis.Dan Gohman2009-09-091-7/+7
| | | | llvm-svn: 81293
* Do not emit comments unless -asm-verbose.Evan Cheng2009-03-241-4/+4
| | | | llvm-svn: 67580
* Remove llvm-upgrade.Tanya Lattner2008-02-171-29/+25
| | | | llvm-svn: 47238
* Convert tests using "| wc -l | grep ..." to use the count script.Dan Gohman2007-08-151-7/+7
| | | | llvm-svn: 41097
* For PR1319:Reid Spencer2007-04-161-8/+14
| | | | | | | | Remove && from the end of the lines to prevent tests from throwing run lines into the background. Also, clean up places where the same command is run multiple times by using a temporary file. llvm-svn: 36142
* ARM test cases contributed by Apple.Evan Cheng2007-01-191-13/+8
| | | | llvm-svn: 33354
* Regression is gone, don't try to find it on clean target.Reid Spencer2007-01-171-0/+45
llvm-svn: 33296
OpenPOWER on IntegriCloud