summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-mc
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2011-07-13 19:08:16 +0000
committerEvan Cheng <evan.cheng@apple.com>2011-07-13 19:08:16 +0000
commitb94674b325143837f6941196f95525dee8482d2c (patch)
tree3c83a68edc83c68284481499ec08f22b1db7dfb9 /llvm/tools/llvm-mc
parent9a881019a597d218f838fb1e2b92fba19258a5bd (diff)
downloadbcm5719-llvm-b94674b325143837f6941196f95525dee8482d2c.tar.gz
bcm5719-llvm-b94674b325143837f6941196f95525dee8482d2c.zip
It's not safe to fold (fptrunc (sqrt (fpext x))) to (sqrtf x) if there is another use of sqrt. rdar://9763193
llvm-svn: 135058
Diffstat (limited to 'llvm/tools/llvm-mc')
-rw-r--r--llvm/tools/llvm-mc/llvm-mc.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/tools/llvm-mc/llvm-mc.cpp b/llvm/tools/llvm-mc/llvm-mc.cpp
index 7fed125e1bf..dfda6f700dc 100644
--- a/llvm/tools/llvm-mc/llvm-mc.cpp
+++ b/llvm/tools/llvm-mc/llvm-mc.cpp
@@ -338,9 +338,11 @@ static int AssembleInput(const char *ProgName) {
formatted_raw_ostream FOS(Out->os());
OwningPtr<MCStreamer> Str;
+#if 0
const TargetLoweringObjectFile &TLOF =
TM->getTargetLowering()->getObjFileLowering();
const_cast<TargetLoweringObjectFile&>(TLOF).Initialize(Ctx, *TM);
+#endif
OwningPtr<MCInstrInfo> MCII(TheTarget->createMCInstrInfo());
OwningPtr<MCSubtargetInfo>
OpenPOWER on IntegriCloud