[all-commits] [llvm/llvm-project] b24909: [Attributes] Avoid repeated attribute set lookup (...
Nikita Popov via All-commits
all-commits at lists.llvm.org
Mon Jan 9 03:07:57 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b24909c4c7e7c6ea47def893b061c9bc65caba15
https://github.com/llvm/llvm-project/commit/b24909c4c7e7c6ea47def893b061c9bc65caba15
Author: Nikita Popov <npopov at redhat.com>
Date: 2023-01-09 (Mon, 09 Jan 2023)
Changed paths:
M llvm/lib/IR/Attributes.cpp
Log Message:
-----------
[Attributes] Avoid repeated attribute set lookup (NFC)
Perform the hasAttribute() check on the AttributeSet we need to
fetch anyway, rather than going through hasAttributeAtIndex().
More information about the All-commits
mailing list