aboutsummaryrefslogtreecommitdiffstats
path: root/test/CodeGen/Generic/negintconst.ll
diff options
context:
space:
mode:
Diffstat (limited to 'test/CodeGen/Generic/negintconst.ll')
-rw-r--r--test/CodeGen/Generic/negintconst.ll2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/CodeGen/Generic/negintconst.ll b/test/CodeGen/Generic/negintconst.ll
index 5cb5b24..4c8fe74 100644
--- a/test/CodeGen/Generic/negintconst.ll
+++ b/test/CodeGen/Generic/negintconst.ll
@@ -1,3 +1,5 @@
+; RUN: llvm-as -f %s -o - | llc
+
; Test that a negative constant smaller than 64 bits (e.g., int)
; is correctly implemented with sign-extension.
; In particular, the current code generated is: