summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen/ARM/mul_const.ll
Commit message (Collapse)AuthorAgeFilesLines
* [NFC][ARM] Add some test triplesSam Parker2019-12-121-20/+171
| | | | Add thumb and thumb2 to a couple of the test files.
* ARM: fixup more tests to specify the target more explicitlySaleem Abdulrasool2014-04-031-1/+1
| | | | | | | | | | | | | This changes the tests that were targeting ARM EABI to explicitly specify the environment rather than relying on the default. This breaks with the new Windows on ARM support when running the tests on Windows where the default environment is no longer EABI. Take the opportunity to avoid a pointless redirect (helps when trying to debug with providing a command line invocation which can be copy and pasted) and removing a few greps in favour of FileCheck. llvm-svn: 205541
* Mass update to CodeGen tests to use CHECK-LABEL for labels corresponding to ↵Stephen Lin2013-07-141-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | 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
* Perform mul combine when multiplying wiht negative constants.Anton Korobeynikov2012-03-191-0/+42
| | | | | | | Patch by Weiming Zhao! This fixes PR12212 llvm-svn: 153049
* Update tests to handle MC-inst instruction printing of shift operations. TheJim Grosbach2010-09-171-1/+1
| | | | | | | | | legacy asm printer uses instructions of the form, "mov r0, r0, lsl #3", while the MC-instruction printer uses the form "lsl r0, r0, #3". The latter mnemonic is correct and preferred according the ARM documentation (A8.6.98). The former are pseudo-instructions for the latter. llvm-svn: 114221
* Some cheap DAG combine goodness for multiplication with a particular constant.Anton Korobeynikov2010-05-151-4/+30
| | | | | | This can be extended later on to handle more "complex" constants. llvm-svn: 103881
* Eliminate more uses of llvm-as and llvm-dis.Dan Gohman2009-09-091-1/+1
| | | | llvm-svn: 81293
* Fix ARM isle code that optimize multiply by constants which are power-of-2 ↵Evan Cheng2009-07-211-0/+17
+/- 1. llvm-svn: 76520
OpenPOWER on IntegriCloud