[all-commits] [llvm/llvm-project] bb9cef: [CallBase] Add hasRetAttr version that takes Strin...
Florian Hahn via All-commits
all-commits at lists.llvm.org
Thu Dec 10 09:11:08 PST 2020
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: bb9cef7628ecda692081e5690dbb890dcececd15
https://github.com/llvm/llvm-project/commit/bb9cef7628ecda692081e5690dbb890dcececd15
Author: Florian Hahn <flo at fhahn.com>
Date: 2020-12-10 (Thu, 10 Dec 2020)
Changed paths:
M llvm/include/llvm/IR/InstrTypes.h
M llvm/lib/IR/Instructions.cpp
M llvm/unittests/IR/InstructionsTest.cpp
Log Message:
-----------
[CallBase] Add hasRetAttr version that takes StringRef.
This makes it slightly easier to deal with custom attributes and
CallBase already provides hasFnAttr versions that support both AttrKind
and StringRef arguments in a similar fashion.
Reviewed By: jdoerfert
Differential Revision: https://reviews.llvm.org/D92567
More information about the All-commits
mailing list