summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
diff options
context:
space:
mode:
authorJames Molloy <james.molloy@arm.com>2014-07-23 13:33:00 +0000
committerJames Molloy <james.molloy@arm.com>2014-07-23 13:33:00 +0000
commitbc9fed82ccf8ae255b3c53c62a31292192d0fd15 (patch)
treeb90b0af431b7ede3d05d390d627e4c033eb6d1ca /llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
parent3dfa09bbbc07134da15cdf57928a67f85dc966ab (diff)
downloadbcm5719-llvm-bc9fed82ccf8ae255b3c53c62a31292192d0fd15.tar.gz
bcm5719-llvm-bc9fed82ccf8ae255b3c53c62a31292192d0fd15.zip
Enable partial libcall inlining for all targets by default.
This pass attempts to speculatively use a sqrt instruction if one exists on the target, falling back to a libcall if the target instruction returned NaN. This was enabled for MIPS and System-Z, but is well guarded and is good for most targets - GCC does this for (that I've checked) X86, ARM and AArch64. llvm-svn: 213752
Diffstat (limited to 'llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp')
-rw-r--r--llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp b/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
index 0122e99f8a7..a30b225e502 100644
--- a/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
+++ b/llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
@@ -49,7 +49,6 @@ public:
void SystemZPassConfig::addIRPasses() {
TargetPassConfig::addIRPasses();
- addPass(createPartiallyInlineLibCallsPass());
}
bool SystemZPassConfig::addInstSelector() {
OpenPOWER on IntegriCloud