llvm-project/llvm/test/Transforms/ConstProp/bitcast.ll

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>
}