diff options
author | Evan Cheng <evan.cheng@apple.com> | 2011-07-13 19:08:16 +0000 |
---|---|---|
committer | Evan Cheng <evan.cheng@apple.com> | 2011-07-13 19:08:16 +0000 |
commit | 93a635c82c33e331bd4c5f4f44ba1e37a08bd687 (patch) | |
tree | 9da1ef6184cdaf04d2978ea718dd639628ae59eb /tools/llvm-mc | |
parent | 59642c260064a0c9140e048d702a21830020487f (diff) | |
download | external_llvm-93a635c82c33e331bd4c5f4f44ba1e37a08bd687.zip external_llvm-93a635c82c33e331bd4c5f4f44ba1e37a08bd687.tar.gz external_llvm-93a635c82c33e331bd4c5f4f44ba1e37a08bd687.tar.bz2 |
It's not safe to fold (fptrunc (sqrt (fpext x))) to (sqrtf x) if there is another use of sqrt. rdar://9763193
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@135058 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-mc')
-rw-r--r-- | tools/llvm-mc/llvm-mc.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tools/llvm-mc/llvm-mc.cpp b/tools/llvm-mc/llvm-mc.cpp index 7fed125..dfda6f7 100644 --- a/tools/llvm-mc/llvm-mc.cpp +++ b/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> |