diff options
-rw-r--r-- | test/CodeGen/Generic/2005-12-12-ExpandSextInreg.ll | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/test/CodeGen/Generic/2005-12-12-ExpandSextInreg.ll b/test/CodeGen/Generic/2005-12-12-ExpandSextInreg.ll new file mode 100644 index 0000000..20ef2d9 --- /dev/null +++ b/test/CodeGen/Generic/2005-12-12-ExpandSextInreg.ll @@ -0,0 +1,7 @@ +; RUN: llvm-as < %s | llc + +long %test(long %A) { + %B = cast long %A to sbyte + %C = cast sbyte %B to long + ret long %C +} |