[all-commits] [llvm/llvm-project] fd46ed: [IR] Optimize no-op removal from AttributeSet (NFC)
Nikita Popov via All-commits
all-commits at lists.llvm.org
Sat May 22 09:55:46 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: fd46ed3f397d6cf41bc6c5a04ab2089f585afe44
https://github.com/llvm/llvm-project/commit/fd46ed3f397d6cf41bc6c5a04ab2089f585afe44
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2021-05-22 (Sat, 22 May 2021)
Changed paths:
M llvm/lib/IR/Attributes.cpp
Log Message:
-----------
[IR] Optimize no-op removal from AttributeSet (NFC)
When removing an AttrBuilder from an AttributeSet, first check
whether there is any overlap. If nothing is being removed, we can
directly return the original set.
More information about the All-commits
mailing list