We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fb0307 commit 6805335Copy full SHA for 6805335
llvm/lib/Target/AArch64/Utils/AArch64SMEAttributes.h
@@ -165,11 +165,7 @@ class SMECallAttrs {
165
SMECallAttrs(const CallBase &CB);
166
167
SMEAttrs &caller() { return CallerFn; }
168
- SMEAttrs &callee() {
169
- if (IsIndirect)
170
- return Callsite;
171
- return CalledFn;
172
- }
+ SMEAttrs &callee() { return IsIndirect ? Callsite : CalledFn; }
173
SMEAttrs &callsite() { return Callsite; }
174
SMEAttrs const &caller() const { return CallerFn; }
175
SMEAttrs const &callee() const {
0 commit comments