summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/X86/optimize-max-3.ll
Commit message (Collapse)AuthorAgeFilesLines
* Mass update to CodeGen tests to use CHECK-LABEL for labels corresponding to ↵Stephen Lin2013-07-141-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | function definitions for more informative error messages. No functionality change and all updated tests passed locally. This update was done with the following bash script: find test/CodeGen -name "*.ll" | \ while read NAME; do echo "$NAME" if ! grep -q "^; *RUN: *llc.*debug" $NAME; then TEMP=`mktemp -t temp` cp $NAME $TEMP sed -n "s/^define [^@]*@\([A-Za-z0-9_]*\)(.*$/\1/p" < $NAME | \ while read FUNC; do sed -i '' "s/;\(.*\)\([A-Za-z0-9_-]*\):\( *\)$FUNC: *\$/;\1\2-LABEL:\3$FUNC:/g" $TEMP done sed -i '' "s/;\(.*\)-LABEL-LABEL:/;\1-LABEL:/" $TEMP sed -i '' "s/;\(.*\)-NEXT-LABEL:/;\1-NEXT:/" $TEMP sed -i '' "s/;\(.*\)-NOT-LABEL:/;\1-NOT:/" $TEMP sed -i '' "s/;\(.*\)-DAG-LABEL:/;\1-DAG:/" $TEMP mv $TEMP $NAME fi done llvm-svn: 186280
* Instruction scheduling itinerary for Intel Atom.Andrew Trick2012-02-011-2/+2
| | | | | | | | | | | | | | Adds an instruction itinerary to all x86 instructions, giving each a default latency of 1, using the InstrItinClass IIC_DEFAULT. Sets specific latencies for Atom for the instructions in files X86InstrCMovSetCC.td, X86InstrArithmetic.td, X86InstrControl.td, and X86InstrShiftRotate.td. The Atom latencies for the remainder of the x86 instructions will be set in subsequent patches. Adds a test to verify that the scheduler is working. Also changes the scheduling preference to "Hybrid" for i386 Atom, while leaving x86_64 as ILP. Patch by Preston Gurd! llvm-svn: 149558
* Prepare remaining tests for -join-physreg going away.Jakob Stoklund Olesen2011-05-041-4/+3
| | | | llvm-svn: 130893
* Fix register-dependent X86 tests.Jakob Stoklund Olesen2011-04-051-2/+2
| | | | llvm-svn: 128867
* Relax expressions and add explicit triplets -linux and -win32.NAKAMURA Takumi2011-02-221-5/+6
| | | | llvm-svn: 126210
* Loosen up this test so that it doesn't depend as much on registerDan Gohman2010-06-221-1/+2
| | | | | | allocation details. llvm-svn: 106599
* Fix OptimizeMax to handle an odd case where one of the max operandsDan Gohman2010-06-221-1/+44
| | | | | | is another max which folds. This fixes PR7454. llvm-svn: 106594
* Generalize LSR's OptimizeMax to handle the new kinds of max expressionsDan Gohman2010-04-241-0/+32
that indvars may use, now that indvars is recognizing le and ge loops. llvm-svn: 102235
OpenPOWER on IntegriCloud