diff options
author | Rafael Espindola <rafael.espindola@gmail.com> | 2015-06-03 05:32:44 +0000 |
---|---|---|
committer | Rafael Espindola <rafael.espindola@gmail.com> | 2015-06-03 05:32:44 +0000 |
commit | cf8beece97c5b8695fa1e8a5f5727ad730424595 (patch) | |
tree | e66e2cd3be4fa4de338662514ebddbd233f822a3 /llvm/lib/Target/X86/X86TargetMachine.cpp | |
parent | 75d5b5495f1514e239c1b18254ddcf7a297e80ee (diff) | |
download | llvm-cf8beece97c5b8695fa1e8a5f5727ad730424595.zip llvm-cf8beece97c5b8695fa1e8a5f5727ad730424595.tar.gz llvm-cf8beece97c5b8695fa1e8a5f5727ad730424595.tar.bz2 |
Revert "make reciprocal estimate code generation more flexible by adding command-line options (2nd try)"
This reverts commit r238842.
It broke -DBUILD_SHARED_LIBS=ON build.
llvm-svn: 238900
Diffstat (limited to 'llvm/lib/Target/X86/X86TargetMachine.cpp')
-rw-r--r-- | llvm/lib/Target/X86/X86TargetMachine.cpp | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/llvm/lib/Target/X86/X86TargetMachine.cpp b/llvm/lib/Target/X86/X86TargetMachine.cpp index 646cff7..4116cef 100644 --- a/llvm/lib/Target/X86/X86TargetMachine.cpp +++ b/llvm/lib/Target/X86/X86TargetMachine.cpp @@ -105,13 +105,6 @@ X86TargetMachine::X86TargetMachine(const Target &T, StringRef TT, StringRef CPU, if (Subtarget.isTargetWin64()) this->Options.TrapUnreachable = true; - // TODO: By default, all reciprocal estimate operations are off because - // that matches the behavior before TargetRecip was added (except for btver2 - // which used subtarget features to enable this type of codegen). - // We should change this to match GCC behavior where everything but - // scalar division estimates are turned on by default with -ffast-math. - this->Options.Reciprocals.setDefaults("all", false, 1); - initAsmInfo(); } |