summaryrefslogtreecommitdiff
path: root/test/Transforms/ConstProp/bitcast.ll
blob: 53239c7e4fe08e80bc9a2f360a1fd807a24b2372 (plain)
1
2
3
4
5
6
7
8
9
10
; 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: @test1
; CHECK: ret <1 x i64> <i64 63>
}