summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Christopher <echristo@gmail.com>2015-08-11 23:17:31 +0000
committerEric Christopher <echristo@gmail.com>2015-08-11 23:17:31 +0000
commit83dfb00fd79f8ff82711227f8ce71e5cdb015f66 (patch)
tree0440d2cff4603fd179a718705652357fa267b6bb
parent98f6bd09e449ecb57967d957c67f25ee80f17f7c (diff)
downloadbcm5719-llvm-83dfb00fd79f8ff82711227f8ce71e5cdb015f66.tar.gz
bcm5719-llvm-83dfb00fd79f8ff82711227f8ce71e5cdb015f66.zip
Untabify.
llvm-svn: 244695
-rw-r--r--clang/lib/CodeGen/CGCall.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/clang/lib/CodeGen/CGCall.cpp b/clang/lib/CodeGen/CGCall.cpp
index 8f1b4aada1a..f7107b61060 100644
--- a/clang/lib/CodeGen/CGCall.cpp
+++ b/clang/lib/CodeGen/CGCall.cpp
@@ -1522,22 +1522,22 @@ void CodeGenModule::ConstructAttributeList(const CGFunctionInfo &FI,
// Grab the various features and prepend a "+" to turn on the feature to
// the backend and add them to our existing set of features.
for (auto &Feature : AttrFeatures) {
- // Go ahead and trim whitespace rather than either erroring or
- // accepting it weirdly.
- Feature = Feature.trim();
+ // Go ahead and trim whitespace rather than either erroring or
+ // accepting it weirdly.
+ Feature = Feature.trim();
// While we're here iterating check for a different target cpu.
if (Feature.startswith("arch="))
TargetCPU = Feature.split("=").second.trim();
- else if (Feature.startswith("tune="))
- // We don't support cpu tuning this way currently.
- ;
- else if (Feature.startswith("fpmath="))
- // TODO: Support the fpmath option this way. It will require checking
- // overall feature validity for the function with the rest of the
- // attributes on the function.
- ;
- else if (Feature.startswith("mno-"))
+ else if (Feature.startswith("tune="))
+ // We don't support cpu tuning this way currently.
+ ;
+ else if (Feature.startswith("fpmath="))
+ // TODO: Support the fpmath option this way. It will require checking
+ // overall feature validity for the function with the rest of the
+ // attributes on the function.
+ ;
+ else if (Feature.startswith("mno-"))
getTarget().setFeatureEnabled(FeatureMap, Feature.split("-").second,
false);
else
OpenPOWER on IntegriCloud