diff options
Diffstat (limited to 'test/ExecutionEngine/interpreter-ext.ll')
-rw-r--r-- | test/ExecutionEngine/interpreter-ext.ll | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/test/ExecutionEngine/interpreter-ext.ll b/test/ExecutionEngine/interpreter-ext.ll deleted file mode 100644 index b31b94a..0000000 --- a/test/ExecutionEngine/interpreter-ext.ll +++ /dev/null @@ -1,19 +0,0 @@ -; RUN: llvm-as < %s | lli -force-interpreter -; Extending a value due to zeroext/signext will leave it the wrong size -; causing problems later, such as a crash if you try to extend it again. - -define void @zero(i8 zeroext %foo) { - zext i8 %foo to i32 - ret void -} - -define void @sign(i8 signext %foo) { - sext i8 %foo to i32 - ret void -} - -define i32 @main() { - call void @zero(i8 0) - call void @sign(i8 0) - ret i32 0 -} |