summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/CalcSpillWeights.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-08-28 23:32:00 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2015-08-28 23:32:00 +0000
commit0bd73bb58b6a6984be8f7962b29cef89ff4efd4a (patch)
tree9d51bbd991c586dd3ad01aba5fac4f724047ec54 /llvm/lib/CodeGen/CalcSpillWeights.cpp
parent273ed4d9eb87002bdda9764a301ac0f24fa097ee (diff)
downloadbcm5719-llvm-0bd73bb58b6a6984be8f7962b29cef89ff4efd4a.tar.gz
bcm5719-llvm-0bd73bb58b6a6984be8f7962b29cef89ff4efd4a.zip
DI: Update tests before adding !dbg subprogram attachments
I'm working on adding !dbg attachments to functions (PR23367), which we'll use to determine the canonical subprogram for a function (instead of the `subprograms:` array in the compile units). This updates a few old tests in preparation. Transforms/Mem2Reg/ConvertDebugInfo2.ll had an old-style grep+count based test that would start to fail because I've added an extra line with `!dbg`. Instead, explicitly `CHECK` for what I think the test actually cares about. All three testcases have subprograms with a valid `function:` reference -- which means my upgrade script will add a `!dbg` attachment -- but that aren't referenced from any compile unit. I suspect these testcases were handreduced over-zealously (or have bitrotted?). Add a reference from the compile unit so that upcoming Verifier checks won't fail here. llvm-svn: 246351
Diffstat (limited to 'llvm/lib/CodeGen/CalcSpillWeights.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud