mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-20 10:42:36 +00:00
Trivial change to set UseLeaForSP flag in addition to toggling
the FeatureLeaForSP feature bit when llvm auto detects Intel Atom. Patch by Andy Zhang llvm-svn: 155655
This commit is contained in:
parent
fbbb8b9593
commit
fb1760744d
@ -255,6 +255,8 @@ void X86Subtarget::AutoDetectSubtargetFeatures() {
|
||||
// Set processor type. Currently only Atom is detected.
|
||||
if (Family == 6 && Model == 28) {
|
||||
X86ProcFamily = IntelAtom;
|
||||
|
||||
UseLeaForSP = true;
|
||||
ToggleFeature(X86::FeatureLeaForSP);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user