summaryrefslogtreecommitdiffstats
path: root/llvm/test/Transforms/InstCombine/bitcast-vec-uniform.ll
Commit message (Collapse)AuthorAgeFilesLines
* Regenerate vector bitcast folding tests using update_test_checks.py.Andrea Di Biagio2016-09-071-70/+0
| | | | | | | Two tests have been merged together, regenerated and then moved to a more appropriate directory. No functional change. llvm-svn: 280814
* Update Transforms tests to use CHECK-LABEL for easier debugging. No ↵Stephen Lin2013-07-141-8/+8
| | | | | | | | | | | | | | | | | | | | | | functionality change. This update was done with the following bash script: find test/Transforms -name "*.ll" | \ while read NAME; do echo "$NAME" if ! grep -q "^; *RUN: *llc" $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 mv $TEMP $NAME fi done llvm-svn: 186268
* Enhance constant folding of bitcast operations on vectors of floats.Nadav Rotem2011-02-171-1/+41
| | | | | | | Add getAllOnesValue of FP numbers to Constants and APFloat. Add more tests. llvm-svn: 125776
* Fix testNadav Rotem2011-02-131-1/+1
| | | | llvm-svn: 125460
* Fix a regression from r125393;Nadav Rotem2011-02-131-1/+17
| | | | | | | | | | | | | It caused a crash in MultiSource/Benchmarks/Bullet. Opt hit an assertion with "opt -std-compile-opts" because Constant::getAllOnesValue doesn't know how to handle floats. This patch added a test to reproduce the problem and a check that the destination vector is of integer type. Thank you Benjamin! llvm-svn: 125459
* Fix 9173.Nadav Rotem2011-02-111-0/+14
Add more folding patterns to constant expressions of vector selects and vector bitcasts. llvm-svn: 125393
OpenPOWER on IntegriCloud