Override the TLI callback enableAggressiveFMAFusion and return true. Indeed, fmul...
authorOlivier Sallenave <ohsallen@us.ibm.com>
Wed, 14 Jan 2015 14:47:24 +0000 (14:47 +0000)
committerOlivier Sallenave <ohsallen@us.ibm.com>
Wed, 14 Jan 2015 14:47:24 +0000 (14:47 +0000)
llvm-svn: 225984

llvm/lib/Target/NVPTX/NVPTXISelLowering.h

index d66d81a..b3fea3f 100644 (file)
@@ -507,6 +507,8 @@ public:
 
   bool isFMAFasterThanFMulAndFAdd(EVT) const override { return true; }
 
+  bool enableAggressiveFMAFusion(EVT VT) const override { return true; }
+
 private:
   const NVPTXSubtarget &nvptxSubtarget; // cache the subtarget here