vasu-the-sharma wrote:

> > I've been working on the changes and wanted to share the IR comparison to 
> > make sure we're on the right track.
> 
> @vasu-the-sharma, please clean up your write-up to focus on what's new 
> compared to what the PR already proposes.

Done. The new change is the `LHS` check in `CGExprAgg.cpp`:
```
- LValue LHS = CGF.EmitLValue(E->getLHS());
+ LValue LHS = CGF.EmitCheckedLValue(E->getLHS(), CodeGenFunction::TCK_Store);
```

https://github.com/llvm/llvm-project/pull/190739
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to