Page MenuHomePhabricator

StephenTozer (Stephen Tozer)
User

Projects

User does not belong to any projects.

User Details

User Since
Mar 5 2019, 4:12 AM (211 w, 3 d)

Recent Activity

Wed, Mar 22

StephenTozer committed rGee5617dc71b3: [Dexter] Add timeout options (authored by StephenTozer).
[Dexter] Add timeout options
Wed, Mar 22, 6:51 AM · Restricted Project
StephenTozer closed D145063: [Dexter] Add timeout options.
Wed, Mar 22, 6:51 AM · Restricted Project, Restricted Project
StephenTozer accepted D146298: [NFC] Add DebugVariableAggregate class.

I believe there are a few places in the existing codebase where we intentionally drop fragments that could be updated to use this class; on the whole though, I approve of using a new class to differentiate between a variable fragment that happens to be the whole variable vs an explicit reference to the whole variable regardless of fragmentation.

Wed, Mar 22, 6:12 AM · Restricted Project, Restricted Project, debug-info

Tue, Mar 21

StephenTozer accepted D146299: [Assignment Tracking] Fix mem2reg misidentifying unlinked stores.

Simple enough, LGTM.

Tue, Mar 21, 11:47 AM · Restricted Project, Restricted Project, debug-info

Wed, Mar 15

StephenTozer committed rG73a01952b52c: [Dexter] Add a simple logging class to Dexter (authored by StephenTozer).
[Dexter] Add a simple logging class to Dexter
Wed, Mar 15, 12:27 PM · Restricted Project
StephenTozer closed D144983: [Dexter] Add a simple logging class to Dexter.
Wed, Mar 15, 12:26 PM · Restricted Project, Restricted Project
StephenTozer committed rG2e7f3393896a: [Dexter] Add target_run_args option (authored by StephenTozer).
[Dexter] Add target_run_args option
Wed, Mar 15, 10:12 AM · Restricted Project
StephenTozer closed D144979: [Dexter] Add target_run_args option.
Wed, Mar 15, 10:11 AM · Restricted Project, Restricted Project, debug-info
StephenTozer updated the diff for D144979: [Dexter] Add target_run_args option.

Added a test to check that --target-run-args and DexCommandLine compose - needs to be a separate test file because of a few necessary differences in the file, which can't be fixed by using sed in the RUN line.

Wed, Mar 15, 7:12 AM · Restricted Project, Restricted Project, debug-info
StephenTozer accepted D145909: [DebugInfo][NFC] Add RawLocationWrapper to wrap location operand metadata [1/x].

Stack LGTM, seems like a quite straightforward set of changes.

Wed, Mar 15, 6:45 AM · Restricted Project, Restricted Project, debug-info
StephenTozer accepted D145911: [Assignment Tracking][NFC] Use RawLocationWrapper in VarLocInfo [2/x].
Wed, Mar 15, 6:37 AM · Restricted Project, Restricted Project, debug-info
StephenTozer accepted D145914: [Assignment Tracking] Do not convert variadic locations to kill locations [3/x].
Wed, Mar 15, 5:52 AM · Restricted Project, Restricted Project, debug-info

Tue, Mar 14

StephenTozer accepted D145915: [Assignment Tracking] Allow salvaging with variadic expressions [4/x].
Tue, Mar 14, 4:27 AM · Restricted Project, Restricted Project, debug-info

Thu, Mar 2

StephenTozer accepted D145051: [ADCE] Only remove debug intrinsics if non debug instructions are removed.

LGTM - I think not deleting debug intrinsics if there would be no other codegen changes is the right call for now as a simplest viable fix for the linked issue; hopefully this doesn't result in intrinsic bloat, but if it does that can be solved separately.

Thu, Mar 2, 1:42 AM · debug-info, Restricted Project, Restricted Project
StephenTozer added inline comments to D145051: [ADCE] Only remove debug intrinsics if non debug instructions are removed.
Thu, Mar 2, 1:27 AM · debug-info, Restricted Project, Restricted Project

Wed, Mar 1

StephenTozer requested review of D145063: [Dexter] Add timeout options.
Wed, Mar 1, 5:33 AM · Restricted Project, Restricted Project
StephenTozer committed rG6376c5b976de: [Dexter] Use non-blocking resume when debugging Visual Studio (authored by StephenTozer).
[Dexter] Use non-blocking resume when debugging Visual Studio
Wed, Mar 1, 4:10 AM · Restricted Project
StephenTozer closed D144986: [Dexter] Use non-blocking resume when debugging Visual Studio.
Wed, Mar 1, 4:09 AM · Restricted Project, Restricted Project

Tue, Feb 28

StephenTozer requested review of D144986: [Dexter] Use non-blocking resume when debugging Visual Studio.
Tue, Feb 28, 10:11 AM · Restricted Project, Restricted Project
StephenTozer requested review of D144983: [Dexter] Add a simple logging class to Dexter.
Tue, Feb 28, 10:04 AM · Restricted Project, Restricted Project
StephenTozer requested review of D144979: [Dexter] Add target_run_args option.
Tue, Feb 28, 9:40 AM · Restricted Project, Restricted Project, debug-info
StephenTozer added a comment to D144732: [Assignment Tracking] Elide a map copy in some cases.

Broadly looks good, just a couple questions and a nit comment.

Tue, Feb 28, 4:35 AM · Restricted Project, Restricted Project
StephenTozer added a comment to D144652: [Assignment Tracking] getIntrinsicInstrCost: set dbg.assign cost to zero.

Does anyone have any good ideas on what a test for this looks like?

Tue, Feb 28, 3:20 AM · Restricted Project, Restricted Project, debug-info

Mon, Feb 27

StephenTozer added inline comments to D144800: [DebugInfo] Remove `dbg.addr` from CodeGen.
Mon, Feb 27, 9:01 AM · debug-info, Restricted Project, Restricted Project
StephenTozer added inline comments to D144800: [DebugInfo] Remove `dbg.addr` from CodeGen.
Mon, Feb 27, 8:46 AM · debug-info, Restricted Project, Restricted Project
StephenTozer accepted D144798: [DebugInfo] Remove `dbg.addr` from llvm-reduce.
Mon, Feb 27, 2:28 AM · debug-info, Restricted Project, Restricted Project
StephenTozer accepted D144800: [DebugInfo] Remove `dbg.addr` from CodeGen.
Mon, Feb 27, 2:28 AM · debug-info, Restricted Project, Restricted Project
StephenTozer accepted D144801: [DebugInfo] Remove `dbg.addr` from IR.
Mon, Feb 27, 2:21 AM · debug-info, Restricted Project, Restricted Project
StephenTozer accepted D144799: [DebugInfo] Remove `dbg.addr` from Analysis.
Mon, Feb 27, 2:00 AM · debug-info, Restricted Project, Restricted Project

Thu, Feb 23

StephenTozer accepted D144621: [Assignment Tracking][NFC] Avoid doing some work when maps have same keys.

Small suggestion below, but LGTM with or without it.

Thu, Feb 23, 2:54 AM · Restricted Project, Restricted Project

Feb 21 2023

StephenTozer accepted D141067: [DebugInfo] Do not replace Instruction uses with undef.

LGTM!

Feb 21 2023, 3:50 AM · Restricted Project, Restricted Project, debug-info

Feb 10 2023

StephenTozer accepted D143146: [Assignment Tracking] Fix migrateDebuginfo in SROA.

Thanks for the changes, LGTM.

Feb 10 2023, 9:07 AM · Restricted Project, Restricted Project, debug-info
StephenTozer added inline comments to D143146: [Assignment Tracking] Fix migrateDebuginfo in SROA.
Feb 10 2023, 8:07 AM · Restricted Project, Restricted Project, debug-info

Feb 8 2023

StephenTozer accepted D143567: [Assignment Tracking] Fix fragment index error in getDerefOffsetInBytes.

Nit, otherwise LGTM!

Feb 8 2023, 7:34 AM · Restricted Project, Restricted Project, debug-info
StephenTozer added a comment to D143146: [Assignment Tracking] Fix migrateDebuginfo in SROA.

Looks broadly good to me, with some small suggestions.

Feb 8 2023, 6:09 AM · Restricted Project, Restricted Project, debug-info

Feb 7 2023

StephenTozer added a comment to D140404: Patch for dbg variable instrinsics to point towards cloned values in JumpThreading.

Actually looking back over it I'd add further - FindValueForBlock isn't necessarily right because we're looking for values in the middle of the block, and that function will give us the value at the end only (which may be incorrect depending on the position of the debug value). I encountered this problem in MachineSSAUpdater, and the approach I took there was to add a ExistingValueOnly parameter to GetValue(InMiddle|AtEnd)OfBlock that performs all the same logic but returns empty if it would need to generate any code to provide a value. Happy to repeat that fix here!

Feb 7 2023, 3:48 AM · Restricted Project, Restricted Project
StephenTozer added a comment to D140404: Patch for dbg variable instrinsics to point towards cloned values in JumpThreading.

/me squints -- I think the idea here was that if SSAUpdater has a value at the end of the block we can use that and it won't cause new codegen; but then we're using GetValueInMiddleOfBlock, which will generate code in certain circumstances.

Feb 7 2023, 3:41 AM · Restricted Project, Restricted Project

Feb 1 2023

StephenTozer committed rGe0374fb2f447: [DebugInfo] Make debug intrinsics to track cloned values in JumpThreading (authored by BenJMudd).
[DebugInfo] Make debug intrinsics to track cloned values in JumpThreading
Feb 1 2023, 4:54 AM · Restricted Project, Restricted Project
StephenTozer closed D140404: Patch for dbg variable instrinsics to point towards cloned values in JumpThreading.
Feb 1 2023, 4:54 AM · Restricted Project, Restricted Project

Jan 19 2023

StephenTozer accepted D142029: [Assignment Tracking] Fix -fexperimental-assignment-tracking cc1 flag.
Jan 19 2023, 1:17 AM · Restricted Project, Restricted Project, debug-info

Jan 16 2023

StephenTozer accepted D140404: Patch for dbg variable instrinsics to point towards cloned values in JumpThreading.

Changes LGTM!

Jan 16 2023, 4:20 AM · Restricted Project, Restricted Project

Jan 11 2023

StephenTozer added a comment to D140166: [IR] return nullptr in Instruction::getInsertionPointAfterDef for CallBrInst.

Small point about the CallBr guard, but no other issues from my PoV!

Jan 11 2023, 9:25 AM · Restricted Project, Restricted Project
StephenTozer added a comment to D133925: [DebugInfo] Fix: Variables that have no non-empty values being emitted when they have a DBG_VALUE_LIST.

I'll see if I can come up with a reproducer. Do you have an example of this from clang, rather than from handcrafted IR?

Jan 11 2023, 1:47 AM · Restricted Project, Restricted Project, debug-info

Jan 10 2023

StephenTozer added a comment to D133925: [DebugInfo] Fix: Variables that have no non-empty values being emitted when they have a DBG_VALUE_LIST.

Hmm - shouldn't we still see localh emitted, but without a DW_AT_location - dropping the variable entirely seems incorrect? I guess just for this test case that happens because the variable isn't listed in the DISubprogram's variables list?

Jan 10 2023, 2:00 AM · Restricted Project, Restricted Project, debug-info

Jan 9 2023

StephenTozer committed rG1f11d1bd1261: [DebugInfo] Fix jump threading failing to update cloned dbg.values (authored by BenJMudd).
[DebugInfo] Fix jump threading failing to update cloned dbg.values
Jan 9 2023, 3:43 AM · Restricted Project, Restricted Project
StephenTozer closed D140006: fix jump threading failing to update cloned dbg.values.
Jan 9 2023, 3:43 AM · Restricted Project, Restricted Project
StephenTozer committed rGda0faa0594b9: [DebugInfo] Produce variadic DBG_INSTR_REFs from ISel (authored by StephenTozer).
[DebugInfo] Produce variadic DBG_INSTR_REFs from ISel
Jan 9 2023, 12:59 AM · Restricted Project, Restricted Project
StephenTozer closed D133929: [DebugInfo] Produce variadic DBG_INSTR_REFs from ISel.
Jan 9 2023, 12:58 AM · Restricted Project, Restricted Project, debug-info

Jan 6 2023

StephenTozer committed rGa344c9073ced: [DebugInfo] Add support for variadic DBG_INSTR_REFs in LiveDebugValues (authored by StephenTozer).
[DebugInfo] Add support for variadic DBG_INSTR_REFs in LiveDebugValues
Jan 6 2023, 3:02 PM · Restricted Project, Restricted Project
StephenTozer closed D133927: [DebugInfo] Add support for variadic DBG_INSTR_REFs in LiveDebugValues.
Jan 6 2023, 3:02 PM · Restricted Project, Restricted Project, debug-info
StephenTozer committed rGc383f4d6550e: [DebugInfo] Allow non-stack_value variadic expressions and use in DBG_INSTR_REF (authored by StephenTozer).
[DebugInfo] Allow non-stack_value variadic expressions and use in DBG_INSTR_REF
Jan 6 2023, 11:32 AM · Restricted Project, Restricted Project
StephenTozer closed D133926: [DebugInfo] Allow non-stack_value variadic expressions and use in DBG_INSTR_REF.
Jan 6 2023, 11:32 AM · Restricted Project, Restricted Project, debug-info
StephenTozer committed rG85bff00c73e5: Fix: Title underline too short in D129372 (authored by StephenTozer).
Fix: Title underline too short in D129372
Jan 6 2023, 10:24 AM · Restricted Project, Restricted Project
StephenTozer committed rGe10e93631541: [DebugInfo][NFC] Add new MachineOperand type and change DBG_INSTR_REF syntax (authored by StephenTozer).
[DebugInfo][NFC] Add new MachineOperand type and change DBG_INSTR_REF syntax
Jan 6 2023, 10:04 AM · Restricted Project, Restricted Project
StephenTozer closed D129372: [DebugInfo][NFC?] Add new MachineOperand type and change DBG_INSTR_REF syntax.
Jan 6 2023, 10:04 AM · Restricted Project, Restricted Project, debug-info
StephenTozer updated the diff for D133929: [DebugInfo] Produce variadic DBG_INSTR_REFs from ISel.

Rebased onto latest main, added unit tests for new convertToUndefExpression, and converted some existing tests to test for the new fully-undef debug values that SelectionDAG produces.

Jan 6 2023, 7:08 AM · Restricted Project, Restricted Project, debug-info
StephenTozer updated the diff for D133927: [DebugInfo] Add support for variadic DBG_INSTR_REFs in LiveDebugValues.

Rebased onto latest main, slightly updated and added unit tests for convertToNonVariadicExpression.

Jan 6 2023, 7:04 AM · Restricted Project, Restricted Project, debug-info
StephenTozer updated the diff for D133926: [DebugInfo] Allow non-stack_value variadic expressions and use in DBG_INSTR_REF.

Rebased onto latest master, added unit tests for convertToVariadicExpression.

Jan 6 2023, 7:03 AM · Restricted Project, Restricted Project, debug-info
StephenTozer updated the diff for D129372: [DebugInfo][NFC?] Add new MachineOperand type and change DBG_INSTR_REF syntax.

Rebased again now that the patch stack is ready to land.

Jan 6 2023, 6:59 AM · Restricted Project, Restricted Project, debug-info
StephenTozer updated the diff for D133929: [DebugInfo] Produce variadic DBG_INSTR_REFs from ISel.

Address comments (extracted MO selection for const debug operands, expanded comments in EmitDbgValue), add a function for setting a DIExpression "undef".

Jan 6 2023, 1:36 AM · Restricted Project, Restricted Project, debug-info

Jan 5 2023

StephenTozer added inline comments to D133929: [DebugInfo] Produce variadic DBG_INSTR_REFs from ISel.
Jan 5 2023, 9:20 AM · Restricted Project, Restricted Project, debug-info
StephenTozer accepted D139590: [RegAllocFast] Handle new debug values for spills.

LGTM, thanks for the changes!

Jan 5 2023, 6:24 AM · Restricted Project, Restricted Project

Jan 4 2023

StephenTozer added a comment to D140989: [DebugInfo] Update SourceLevelDebugging.rst to better explain kill locations.

Minor comments but otherwise LGTM.

Jan 4 2023, 9:18 AM · Restricted Project, Restricted Project, debug-info
StephenTozer accepted D140990: [DebugInfo] Treat empty metadata operands the same as undef operands in SelectionDAG.

LGTM!

Jan 4 2023, 9:09 AM · Restricted Project, Restricted Project, debug-info
StephenTozer accepted D140904: [DebugInfo] Prefer to use setKillLocation rather than replacing operands with undef.

Simple and good, LGTM.

Jan 4 2023, 8:51 AM · Restricted Project, Restricted Project, debug-info
StephenTozer accepted D140902: [DebugInfo] Treat empty metadata operands the same as undef operands.

LGTM.

Jan 4 2023, 8:44 AM · Restricted Project, Restricted Project, debug-info
StephenTozer accepted D140903: [DebugInfo][NFC] Rename is/setUndef to is/setKilllocation.

LGTM with the suggested "changes".

Jan 4 2023, 8:30 AM · Restricted Project, Restricted Project, debug-info
StephenTozer accepted D140901: [DebugInfo] Do not delete debug intrinsics with empty metadata operands.

Simple enough, LGTM (but since this is part of a more substantial patch stack, leave a little time for others to have a look).

Jan 4 2023, 8:21 AM · Restricted Project, Restricted Project, debug-info
StephenTozer added a comment to D140900: [DebugInfo] Print empty MDTuples wrapped in MetadataAsValue inline.

Largely LGTM, but with a potential error that needs looking at.

Jan 4 2023, 7:58 AM · Restricted Project, Restricted Project, debug-info

Jan 3 2023

StephenTozer added a comment to D133927: [DebugInfo] Add support for variadic DBG_INSTR_REFs in LiveDebugValues.

Looks good, but with what feels like low test coverage: remind me, the plumbing required to track variadic locations in LiveDebugValues already landed, and we have tests to cover those new code paths, yes?

Jan 3 2023, 9:35 AM · Restricted Project, Restricted Project, debug-info
StephenTozer updated the diff for D133927: [DebugInfo] Add support for variadic DBG_INSTR_REFs in LiveDebugValues.

Rebased onto latest master; addressed review comments. The section of code that turned variadic expressions into non-variadic expressions so that they could be recovered as entry values has been extracted into a separate function in DebugInfoMetadata, and another instance of that logic in AsmPrinter has been updated to use this function. If you think that change should be rolled into a separate patch then I'm happy to do so!

Jan 3 2023, 9:34 AM · Restricted Project, Restricted Project, debug-info

Dec 20 2022

StephenTozer committed rGa685bb8e333e: [DebugInfo] Unify location selection logic for values in InstrRefBasedImpl (authored by StephenTozer).
[DebugInfo] Unify location selection logic for values in InstrRefBasedImpl
Dec 20 2022, 9:58 AM · Restricted Project, Restricted Project
StephenTozer closed D140412: [DebugInfo] Unify location selection logic for values in InstrRefBasedImpl.
Dec 20 2022, 9:58 AM · Restricted Project, Restricted Project, debug-info
StephenTozer updated the diff for D140412: [DebugInfo] Unify location selection logic for values in InstrRefBasedImpl.

Updated for review comments, None -> std::nullopt.

Dec 20 2022, 9:49 AM · Restricted Project, Restricted Project, debug-info
StephenTozer added a comment to D140412: [DebugInfo] Unify location selection logic for values in InstrRefBasedImpl.

Slightly twitchy about there being a zero LocIdx -- I think I tried to suppress there being any default-constructed LocIdxes out there. On the other hand, it comes with a sentinel value attached, so it's no big deal.

Dec 20 2022, 9:47 AM · Restricted Project, Restricted Project, debug-info
StephenTozer added inline comments to D140412: [DebugInfo] Unify location selection logic for values in InstrRefBasedImpl.
Dec 20 2022, 9:07 AM · Restricted Project, Restricted Project, debug-info
StephenTozer requested review of D140412: [DebugInfo] Unify location selection logic for values in InstrRefBasedImpl.
Dec 20 2022, 9:00 AM · Restricted Project, Restricted Project, debug-info
StephenTozer committed rGdef915c39cc4: [DebugInfo] Variables with only empty values emitting when one is variadic (authored by StephenTozer).
[DebugInfo] Variables with only empty values emitting when one is variadic
Dec 20 2022, 3:52 AM · Restricted Project, Restricted Project
StephenTozer closed D133925: [DebugInfo] Fix: Variables that have no non-empty values being emitted when they have a DBG_VALUE_LIST.
Dec 20 2022, 3:51 AM · Restricted Project, Restricted Project, debug-info

Dec 19 2022

StephenTozer committed rG1d05c525db4f: Fix: [DebugInfo] Add function to test debug values for equivalence (authored by StephenTozer).
Fix: [DebugInfo] Add function to test debug values for equivalence
Dec 19 2022, 9:55 AM · Restricted Project, Restricted Project
StephenTozer committed rG6d169089f64c: [DebugInfo] Add function to test debug values for equivalence (authored by StephenTozer).
[DebugInfo] Add function to test debug values for equivalence
Dec 19 2022, 9:18 AM · Restricted Project, Restricted Project
StephenTozer closed D136173: [DebugInfo] Add function to test debug values for equivalence.
Dec 19 2022, 9:18 AM · Restricted Project, Restricted Project, debug-info

Dec 16 2022

StephenTozer added a comment to D140166: [IR] return nullptr in Instruction::getInsertionPointAfterDef for CallBrInst.

Not very familiar with this area, but it looks as though currently InstCombinerImpl::transformConstExprCastCall in InstCombineCalls.cpp will need updating as well. Specifically it may transform a CallBr instruction and insert a Cast for the return, for which it calls NewCall->getInsertionPointAfterDef() and asserts that the return is non-null. Not sure what the solution would be, but it might require dropping support for CallBr in transformConstExprCastCall if the return type is changed: there's already a block in there that bails out of transforming invoke or callbr instructions if they are used in a PHI node, since there's no place to insert the Cast in that case.

Dec 16 2022, 10:02 AM · Restricted Project, Restricted Project
StephenTozer added a comment to D139590: [RegAllocFast] Handle new debug values for spills.

Apologies for taking a bit of time to get to this. My thoughts below, tl;dr it's probably better to just skip tracking spills for DBG_VALUE_LISTs in RegAllocFast.

Dec 16 2022, 8:09 AM · Restricted Project, Restricted Project

Dec 15 2022

StephenTozer accepted D140006: fix jump threading failing to update cloned dbg.values.
Dec 15 2022, 6:16 AM · Restricted Project, Restricted Project
StephenTozer added a comment to D140006: fix jump threading failing to update cloned dbg.values.

Some notes about the DIArgList stuff, otherwise LGTM.

Dec 15 2022, 3:25 AM · Restricted Project, Restricted Project

Dec 8 2022

StephenTozer added inline comments to D138869: [Docs][RFC] Add AMDGPU LLVM Extensions for Heterogeneous Debugging.
Dec 8 2022, 3:32 AM · Restricted Project, Restricted Project

Nov 23 2022

StephenTozer added inline comments to D138561: [Assignment Tracking] Fix DbgVariableIntrinsic::replaceVariableLocationOp.
Nov 23 2022, 5:03 AM · Restricted Project, Restricted Project, debug-info
StephenTozer added a comment to D138561: [Assignment Tracking] Fix DbgVariableIntrinsic::replaceVariableLocationOp.

LGTM with minor comments.

Nov 23 2022, 4:43 AM · Restricted Project, Restricted Project, debug-info

Nov 22 2022

StephenTozer accepted D136325: [Assignment Tracking Analysis][3/*] Memory location fragment filling.

Changes LGTM.

Nov 22 2022, 1:05 AM · Restricted Project, Restricted Project, debug-info

Nov 21 2022

StephenTozer accepted D136255: [Assignment Tracking][25/*] Replace sunk address uses in dbg.assign intrinsics.
Nov 21 2022, 7:45 AM · Restricted Project, Restricted Project, debug-info

Nov 17 2022

StephenTozer added a comment to D136335: [Assignment Tracking Analysis][5/*] Tests.

Changes all LGTM, except the one unaddressed comment about not using $noreg in loop-sink.ll.

Nov 17 2022, 5:03 AM · Restricted Project, Restricted Project, debug-info
StephenTozer added inline comments to D133294: [Assignment Tracking][11/*] Update RemoveRedundantDbgInstrs.
Nov 17 2022, 4:47 AM · Restricted Project, Restricted Project, debug-info

Nov 16 2022

StephenTozer added inline comments to D133294: [Assignment Tracking][11/*] Update RemoveRedundantDbgInstrs.
Nov 16 2022, 4:50 AM · Restricted Project, Restricted Project, debug-info

Nov 10 2022

StephenTozer added inline comments to D136173: [DebugInfo] Add function to test debug values for equivalence.
Nov 10 2022, 12:39 AM · Restricted Project, Restricted Project, debug-info

Nov 7 2022

StephenTozer updated the diff for D133926: [DebugInfo] Allow non-stack_value variadic expressions and use in DBG_INSTR_REF.

Move some changes from an earlier patch into this one: Make entry value expressions containing only a leading DW_OP_LLVM_arg, 0 valid, as the changes in this patch enable such expressions. Also add the convertToVariadicExpression function, as this is the first patch in which it is used.

Nov 7 2022, 10:12 AM · Restricted Project, Restricted Project, debug-info
StephenTozer added inline comments to D133926: [DebugInfo] Allow non-stack_value variadic expressions and use in DBG_INSTR_REF.
Nov 7 2022, 9:39 AM · Restricted Project, Restricted Project, debug-info
StephenTozer updated the diff for D136173: [DebugInfo] Add function to test debug values for equivalence.

Rewrote the test to remove some incorrect behaviour; new test uses two different variables to compare direct/indirect and non-variadic/variadic separately. Also, add the missing variable equality check in the added MachineInstr function (the only caller already checks for variable equivalence, but the function would be misleading if it didn't do so as well!)

Nov 7 2022, 9:26 AM · Restricted Project, Restricted Project, debug-info
StephenTozer updated the diff for D136173: [DebugInfo] Add function to test debug values for equivalence.

Address review comments, including removing the unnecessary call to MachineInstr::isIdenticalTo in MachineInstr::isEquivalentDbgInstr and also adding a missing check for getDebugLoc equality.

Nov 7 2022, 5:48 AM · Restricted Project, Restricted Project, debug-info

Nov 4 2022

StephenTozer added a comment to D136335: [Assignment Tracking Analysis][5/*] Tests.

Some minor comments, but otherwise LGTM.

Nov 4 2022, 6:32 AM · Restricted Project, Restricted Project, debug-info