HomePhabricator

[DAG] CombineToPreIndexedLoadStore - use const APInt& for getAPIntValue(). NFCI.

Authored by RKSimon on Jan 21 2021, 3:01 AM.

Description

[DAG] CombineToPreIndexedLoadStore - use const APInt& for getAPIntValue(). NFCI.

Cleanup some code to use auto* properly from cast, and use const APInt& for getAPIntValue() to avoid an unnecessary copy.

Details

Committed
RKSimonJan 21 2021, 3:04 AM
Parents
rG86021d98d3f8: [X86] Avoid a std::string copy by replacing auto with const auto&. NFC.
Branches
Unknown
Tags
Unknown