1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-02-01 05:01:59 +01:00

Test commit

This is a commit to test commit access.

llvm-svn: 322099
This commit is contained in:
Matthew Voss 2018-01-09 17:52:00 +00:00
parent 687480985c
commit e568747614

View File

@ -144,7 +144,7 @@ DiagnosticInfoOptimizationBase::Argument::Argument(StringRef Key, const Value *V
else if (auto *I = dyn_cast<Instruction>(V))
Loc = I->getDebugLoc();
// Only include names that correspond to user variables. FIXME: we should use
// Only include names that correspond to user variables. FIXME: We should use
// debug info if available to get the name of the user variable.
if (isa<llvm::Argument>(V) || isa<GlobalValue>(V))
Val = GlobalValue::dropLLVMManglingEscape(V->getName());