llvm.org GIT mirror llvm / acc448e
Merge r127441 from mainline. git-svn-id: https://llvm.org/svn/llvm-project/llvm/branches/release_29@127443 91177308-0d34-0410-b5e6-96231b3b80d8 Eric Christopher 9 years ago
6 changed file(s) with 11 addition(s) and 6 deletion(s). Raw diff Collapse all Expand all
220220
221221 // X86 is weird, it always uses i8 for shift amounts and setcc results.
222222 setBooleanContents(ZeroOrOneBooleanContent);
223 setSchedulingPreference(Sched::ILP);
223
224 // For 64-bit since we have so many registers use the ILP scheduler, for
225 // 32-bit code use the register pressure specific scheduling.
226 if (Subtarget->is64Bit())
227 setSchedulingPreference(Sched::ILP);
228 else
229 setSchedulingPreference(Sched::RegPressure);
224230 setStackPointerRegisterToSaveRestore(X86StackPtr);
225231
226232 if (Subtarget->isTargetWindows() && !Subtarget->isTargetCygMing()) {
None ; XFAIL: *
1 ; RUN: llc < %s -march=x86 -mcpu=yonah -stats |& \
21 ; RUN: not grep {Number of register spills}
32 ; END.
0 ; Check that eh_return & unwind_init were properly lowered
11 ; RUN: llc < %s | grep %ebp | count 7
2 ; RUN: llc < %s | grep %edx | count 5
2 ; RUN: llc < %s | grep %ecx | count 5
33
44 target datalayout = "e-p:32:32:32-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:32:64-f32:32:32-f64:32:64-v64:64:64-v128:128:128-a0:0:64"
55 target triple = "i386-pc-linux"
None ; RUN: llc < %s -mtriple=i386-apple-darwin -mcpu=yonah | grep pcmpeqd | count 1
0 ; RUN: llc < %s -mtriple=i386-apple-darwin -mcpu=yonah | not grep pcmpeqd
1 ; RUN: llc < %s -mtriple=i386-apple-darwin -mcpu=yonah | grep orps | grep CPI0_2 | count 2
12 ; RUN: llc < %s -mtriple=x86_64-apple-darwin | grep pcmpeqd | count 1
23
34 ; This testcase shouldn't need to spill the -1 value,
None ; XFAIL: *
1 ; RUN: llc < %s -mcpu=i486 | grep fstpl | count 5
21 ; RUN: llc < %s -mcpu=i486 | grep fstps | count 2
32 ; PR1505
0 ; RUN: llc -march=x86 -mattr=+sse < %s | FileCheck %s
1 ; CHECK: divss
12 ; CHECK: divps
2 ; CHECK: divss
33 ; CHECK: divps
44
55 %vec = type <9 x float>