[PATCH] D69542: Full Restrict Support - single patch

Dmitry Kharlamov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 21 10:27:03 PDT 2022


D.Kharlamov added a comment.
Herald added subscribers: mattd, MaskRay.
Herald added a project: All.

Hi. I tried to use your patch for my project. My main concern is AA in MachineScheduler. 
I noticed what ptr_provenance info is not passed to CodeGen. 
It could be fixed by adding it to MemoryMachineOperand constructor in `SelectionDAGBuilder::visitLoad` and `SelectionDAGBuilder::visitStore`.
Also invocation of  `AAResults::alias` in Codegen lacks of PtrProvenance argument in MemoryLocation constructors.
After this fixes AA in MachineScheduler is working fine.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69542/new/

https://reviews.llvm.org/D69542



More information about the llvm-commits mailing list