xref: /aosp_15_r20/external/llvm/test/CodeGen/Generic/2005-12-12-ExpandSextInreg.ll (revision 9880d6810fe72a1726cb53787c6711e909410d58)
1; RUN: llc < %s
2
3define i64 @test(i64 %A) {
4        %B = trunc i64 %A to i8         ; <i8> [#uses=1]
5        %C = sext i8 %B to i64          ; <i64> [#uses=1]
6        ret i64 %C
7}
8