diff options
| author | Adam Nemet <anemet@apple.com> | 2016-11-29 18:32:04 +0000 |
|---|---|---|
| committer | Adam Nemet <anemet@apple.com> | 2016-11-29 18:32:04 +0000 |
| commit | c2ed4b35b4327a15a6c5239fb81777651826492a (patch) | |
| tree | 84cc5f76b6e05f782f022f8bb01ce39114fd25fb /llvm/lib/IR | |
| parent | 91d4d93f94c09fbb33da6dd1d646da2a8cd49149 (diff) | |
| download | bcm5719-llvm-c2ed4b35b4327a15a6c5239fb81777651826492a.tar.gz bcm5719-llvm-c2ed4b35b4327a15a6c5239fb81777651826492a.zip | |
Revert "[GVN] Basic optimization remark support"
This reverts commit r288046.
Trying to see if the revert fixes a compiler crash during a stage2 LTO
build with a GVN backtrace.
llvm-svn: 288179
Diffstat (limited to 'llvm/lib/IR')
| -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)) {} |

