HomePhabricator

[X86] EmitInstrWithCustomInserter - remove redundant getDebugLoc() calls. NFCI.

Authored by RKSimon on Sep 16 2020, 8:26 AM.

Description

[X86] EmitInstrWithCustomInserter - remove redundant getDebugLoc() calls. NFCI.

Use the same DebugLoc that is called at the top of the method.

Fixes some Wshadow static analyzer warnings.

Details

Committed
RKSimonSep 16 2020, 8:29 AM
Parents
rG6e85c3d5c786: [NFC][Regalloc] accessors for 'reg' and 'weight'
Branches
Unknown
Tags
Unknown