Commit c9d4b417 authored by Simon Pilgrim's avatar Simon Pilgrim
Browse files

[CodeGen] Ensure UserValue::getDebugLoc() and UserLabel::getDebugLoc()...

[CodeGen] Ensure UserValue::getDebugLoc() and UserLabel::getDebugLoc() consistently return a const reference NFCI.

Avoids a lot of unnecessary tracking increments/decrements of the underlying TrackingMDNodeRef.
parent dd21c6b8
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment