This should always be signed chars, so use int8_t. This fixes a miscompile when
[llvm/stm8.git] / test / CodeGen / X86 / 2011-02-04-FastRegallocNoFP.ll
blobcedd6a2a1b8e8879a423c7f7d2e0598665c242aa
1 ; RUN: llc -O0 < %s | FileCheck %s
3 target datalayout = "e-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-v64:64:64-v128:128:128-a0:0:64-s0:64:64-f80:128:128-n8:16:32:64"
4 target triple = "x86_64-unknown-linux-gnu"
6 declare i32 @foo()
8 define i32 @bar() nounwind {
9 ; CHECK: bar
10 ; CHECK-NOT: pop.*ax
11   %call = call i32 @foo()
12   ret i32 %call