llvm.org GIT mirror llvm / release_22 test / Transforms / ConstProp / 2007-11-23-cttz.ll
release_22

Tree @release_22 (Download .tar.gz)

2007-11-23-cttz.ll @release_22raw · history · blame

1
2
3
4
5
6
7
8
; RUN: llvm-as < %s | opt -constprop | llvm-dis | grep {ret i13 13}
; PR1816
declare i13 @llvm.cttz.i13(i13)

define i13 @test() {
	%X = call i13 @llvm.cttz.i13(i13 0)
	ret i13 %X
}