diff options
-rw-r--r-- | tests/cases/unannotated.ll | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/cases/unannotated.ll b/tests/cases/unannotated.ll index 50cd4bf0..d87b2e54 100644 --- a/tests/cases/unannotated.ll +++ b/tests/cases/unannotated.ll @@ -9,8 +9,12 @@ declare hidden zeroext i1 @_OptionParser(i8*, i8) ; separate test: check that we define i32 @main() nounwind { %1 = alloca i32, align 4 store i32 0, i32* %1 - %2 = call i32 @puts(i8* getelementptr inbounds ([6 x i8]* @.str, i32 0, i32 0)) + %2 = call i32 @llvm.expect.i32(i32 0, i32 1) + %3 = call i32 @puts(i8* getelementptr inbounds ([6 x i8]* @.str, i32 0, i32 0)) ret i32 0 } declare i32 @puts(i8*) + +declare i32 @llvm.expect.i32(i32, i32) + |