[all-commits] [llvm/llvm-project] d34191: [Metadata] Use const APInt &. NFC (#101865)
Craig Topper via All-commits
all-commits at lists.llvm.org
Sun Aug 4 14:51:48 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: d34191102ae84352b047498825ab9dd9c8777f98
https://github.com/llvm/llvm-project/commit/d34191102ae84352b047498825ab9dd9c8777f98
Author: Craig Topper <craig.topper at sifive.com>
Date: 2024-08-04 (Sun, 04 Aug 2024)
Changed paths:
M llvm/lib/IR/Metadata.cpp
Log Message:
-----------
[Metadata] Use const APInt &. NFC (#101865)
getValue returns a const APInt &. So using a const APInt & will avoid a
copy.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list