diff options
Diffstat (limited to 'test/Transforms/ConstProp/2007-11-23-cttz.ll')
-rw-r--r-- | test/Transforms/ConstProp/2007-11-23-cttz.ll | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/test/Transforms/ConstProp/2007-11-23-cttz.ll b/test/Transforms/ConstProp/2007-11-23-cttz.ll new file mode 100644 index 0000000..37cda30 --- /dev/null +++ b/test/Transforms/ConstProp/2007-11-23-cttz.ll @@ -0,0 +1,8 @@ +; RUN: opt < %s -constprop -S | 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 +} |