[all-commits] [llvm/llvm-project] 4b0534: Don't check if the result of hasAttrSomewhere is n...
aeubanks via All-commits
all-commits at lists.llvm.org
Tue Sep 7 12:06:37 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 4b053416812f56ad661b650762d20ff4c9849f66
https://github.com/llvm/llvm-project/commit/4b053416812f56ad661b650762d20ff4c9849f66
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2021-09-07 (Tue, 07 Sep 2021)
Changed paths:
M llvm/lib/IR/Instructions.cpp
Log Message:
-----------
Don't check if the result of hasAttrSomewhere is non-zero in CallBase::getReturnedArgOperand()
Index is 0 when the return value has the returned attribute. But the
return value cannot have the returned attribute, so the check is
pointless.
Reviewed By: rnk
Differential Revision: https://reviews.llvm.org/D109334
More information about the All-commits
mailing list