Changes in directory llvm/lib/Target/Alpha:
AlphaSubtarget.cpp updated: 1.5 -> 1.6 --- Log message: Preparation of supporting scheduling info. Need to find info based on selected CPU. --- Diffs of the changes: (+4 -4) AlphaSubtarget.cpp | 8 ++++---- 1 files changed, 4 insertions(+), 4 deletions(-) Index: llvm/lib/Target/Alpha/AlphaSubtarget.cpp diff -u llvm/lib/Target/Alpha/AlphaSubtarget.cpp:1.5 llvm/lib/Target/Alpha/AlphaSubtarget.cpp:1.6 --- llvm/lib/Target/Alpha/AlphaSubtarget.cpp:1.5 Sun Oct 23 17:33:22 2005 +++ llvm/lib/Target/Alpha/AlphaSubtarget.cpp Tue Oct 25 10:15:28 2005 @@ -19,10 +19,10 @@ AlphaSubtarget::AlphaSubtarget(const Module &M, const std::string &FS) : HasF2I(false), HasCT(false) { std::string CPU = "generic"; - uint32_t Bits = - SubtargetFeatures::Parse(FS, CPU, - SubTypeKV, SubTypeKVSize, - FeatureKV, FeatureKVSize); + SubtargetFeatures Features(FS); + Features.setCPUIfNone(CPU); + uint32_t Bits =Features.getBits(SubTypeKV, SubTypeKVSize, + FeatureKV, FeatureKVSize); HasF2I = (Bits & FeatureFIX) != 0; HasCT = (Bits & FeatureCIX) != 0; } _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits