mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-06-24 08:24:33 +00:00
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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@213752 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@ -141,7 +141,6 @@ void MipsPassConfig::addIRPasses() {
|
||||
addPass(createMipsOs16(getMipsTargetMachine()));
|
||||
if (getMipsSubtarget().inMips16HardFloat())
|
||||
addPass(createMips16HardFloat(getMipsTargetMachine()));
|
||||
addPass(createPartiallyInlineLibCallsPass());
|
||||
}
|
||||
// Install an instruction selector pass using
|
||||
// the ISelDag to gen Mips code.
|
||||
|
Reference in New Issue
Block a user