HomePhabricator

[NFC] Use StringRef instead of const char* for AsmPrinter

Authored by serge-sans-paille on Mar 12 2021, 5:27 AM.

Description

[NFC] Use StringRef instead of const char* for AsmPrinter

This avoids calling strlen to repeatedly compute some string size.

Details

Committed
serge-sans-pailleMar 12 2021, 5:39 AM
Parents
rG8904a82fa724: [LV] Fix name in CHECK pattern after fb3ca7076
Branches
Unknown
Tags
Unknown