mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-08-21 18:29:46 +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 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@155655 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
3c00db75e1
commit
c573b1f7ae
@ -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…
Reference in New Issue
Block a user