diff options
author | Adam Nemet <anemet@apple.com> | 2016-11-30 01:14:35 +0000 |
---|---|---|
committer | Adam Nemet <anemet@apple.com> | 2016-11-30 01:14:35 +0000 |
commit | d4717bd8f3ac0e00243aa0aa5a183fddb43805f4 (patch) | |
tree | 0115ad248b00c63a9fa41133656f247b6a8f6014 /llvm/lib/IR/DiagnosticInfo.cpp | |
parent | 90370702c5d20438d288c11063d734b932d31fa7 (diff) | |
download | bcm5719-llvm-d4717bd8f3ac0e00243aa0aa5a183fddb43805f4.tar.gz bcm5719-llvm-d4717bd8f3ac0e00243aa0aa5a183fddb43805f4.zip |
Revert "[GVN] Basic optimization remark support"
This reverts commit r288210.
The failure on the stage2 LTO build is back.
llvm-svn: 288226
Diffstat (limited to 'llvm/lib/IR/DiagnosticInfo.cpp')
-rw-r--r-- | llvm/lib/IR/DiagnosticInfo.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/llvm/lib/IR/DiagnosticInfo.cpp b/llvm/lib/IR/DiagnosticInfo.cpp index 6a3fdcff233..5618de8f602 100644 --- a/llvm/lib/IR/DiagnosticInfo.cpp +++ b/llvm/lib/IR/DiagnosticInfo.cpp @@ -180,12 +180,6 @@ DiagnosticInfoOptimizationBase::Argument::Argument(StringRef Key, Value *V) DLoc = I->getDebugLoc(); } -DiagnosticInfoOptimizationBase::Argument::Argument(StringRef Key, Type *T) - : Key(Key) { - raw_string_ostream OS(Val); - OS << *T; -} - DiagnosticInfoOptimizationBase::Argument::Argument(StringRef Key, int N) : Key(Key), Val(itostr(N)) {} |