commit | 0ddff1b5359433faf2eb1c4ff5320ddcbd42f52f | [log] [tgz] |
---|---|---|
author | Evan Cheng <evan.cheng@apple.com> | Thu Jul 07 07:07:08 2011 +0000 |
committer | Evan Cheng <evan.cheng@apple.com> | Thu Jul 07 07:07:08 2011 +0000 |
tree | 1a7077a4920b307fe6172cf8eb4a9483a8e93fbd | |
parent | cbd40f8357437a15c653cb8cccd7124a1bb55ae2 [diff] [blame] |
Compute feature bits at time of MCSubtargetInfo initialization. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@134606 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp b/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp index f24c356..0f6b579 100644 --- a/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp +++ b/lib/Target/X86/MCTargetDesc/X86MCTargetDesc.cpp
@@ -40,9 +40,10 @@ return X; } -MCSubtargetInfo *createX86MCSubtargetInfo() { +MCSubtargetInfo *createX86MCSubtargetInfo(StringRef TT, StringRef CPU, + StringRef FS) { MCSubtargetInfo *X = new MCSubtargetInfo(); - InitX86MCSubtargetInfo(X); + InitX86MCSubtargetInfo(X, CPU, FS); return X; }