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 00000000000..20ef2d9f063 --- /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 +}