This should always be signed chars, so use int8_t. This fixes a miscompile when
[llvm/stm8.git] / test / CodeGen / SystemZ / 03-RetNegImmSubreg.ll
blob87ebcc1f0a4f84fe90643a3bb616960bedb31e2f
1 ; RUN: llc < %s -march=systemz | grep lcr | count 1
3 define i32 @foo(i32 %a) {
4 entry:
5     %c = sub i32 0, %a
6     ret i32 %c