[PATCH] D13979: Introduction of FeatureX87

Andrey Turetskiy via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 25 06:27:20 PST 2015


aturetsk added inline comments.

================
Comment at: lib/Target/X86/X86Subtarget.h:403
@@ -398,3 +402,3 @@
   bool isSLM() const { return X86ProcFamily == IntelSLM; }
-  bool useSoftFloat() const { return UseSoftFloat; }
+  bool useSoftFloat() const { return UseSoftFloat || !hasX87(); }
 
----------------
For now I fixed the condition as suggested.
Eric, could you please explain in more details how you suggest to use legalizar?


http://reviews.llvm.org/D13979





More information about the llvm-commits mailing list