From 54c05faadeaeedea3f9df266a1acc1fe3b0ba6c2 Mon Sep 17 00:00:00 2001 From: Duncan Sands Date: Mon, 16 Apr 2012 19:40:49 +0000 Subject: Remove support for -fast-math metadata for the moment. llvm-svn: 154851 --- clang/lib/CodeGen/CodeGenFunction.cpp | 4 ---- 1 file changed, 4 deletions(-) (limited to 'clang/lib/CodeGen/CodeGenFunction.cpp') diff --git a/clang/lib/CodeGen/CodeGenFunction.cpp b/clang/lib/CodeGen/CodeGenFunction.cpp index f4b483b..2939062c 100644 --- a/clang/lib/CodeGen/CodeGenFunction.cpp +++ b/clang/lib/CodeGen/CodeGenFunction.cpp @@ -42,10 +42,6 @@ CodeGenFunction::CodeGenFunction(CodeGenModule &cgm) TerminateHandler(0), TrapBB(0) { CatchUndefined = getContext().getLangOpts().CatchUndefined; - if (getContext().getLangOpts().FastMath) { - llvm::MDBuilder MDHelper(Builder.getContext()); - Builder.SetDefaultFPMathTag(MDHelper.createFastFPMath()); - } CGM.getCXXABI().getMangleContext().startNewFunction(); } -- cgit v1.1