mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-27 15:29:51 +00:00
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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@186268 91177308-0d34-0410-b5e6-96231b3b80d8
11 lines
195 B
LLVM
11 lines
195 B
LLVM
; RUN: opt < %s -constprop -S | FileCheck %s
|
|
; PR2165
|
|
|
|
define <1 x i64> @test1() {
|
|
%A = bitcast i64 63 to <1 x i64>
|
|
ret <1 x i64> %A
|
|
; CHECK-LABEL: @test1(
|
|
; CHECK: ret <1 x i64> <i64 63>
|
|
}
|
|
|