[llvm] [Attributor] Change allocation size and load/store offsets using AAPointerInfo for Alloca instructions (PR #72029)
Shilei Tian via llvm-commits
llvm-commits at lists.llvm.org
Mon Jun 17 17:21:50 PDT 2024
================
@@ -6285,12 +6341,38 @@ struct AAAllocationInfo : public StateWrapper<BooleanState, AbstractAttribute> {
return AbstractAttribute::isValidIRPositionForInit(A, IRP);
}
+ // A helper function to check is simplified values exists for the current
+ // instruction.
+ bool simplifiedValuesExists(Attributor &A, Instruction *LocalInst) {
----------------
shiltian wrote:
```suggestion
bool checkIfSimplifiedValuesExists(Attributor &A, Instruction *LocalInst) {
```
LLVM standard generally suggests the first word is a verb.
https://github.com/llvm/llvm-project/pull/72029
More information about the llvm-commits
mailing list