Commit 9766410
authored
[flang][NFC] AliasAnalysis: Use Indirect not Unknown for LoadOp (llvm#127845)
As mentioned at
<llvm#126156 (comment)>:
PR llvm#126156 causes AliasAnalysis::getSource to sometimes return
SourceKind::Unknown when it used to return SourceKind::Indirect for a
LoadOp. This patch restores that part of the old behavior. It should not
affect user-visible behavior because AliasAnalysis::alias treats
SourceKind::Unknown and SourceKind::Indirect equivalently, but it does
improve debugging output.1 parent 386a45c commit 9766410
1 file changed
+9
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
641 | 641 | | |
642 | 642 | | |
643 | 643 | | |
| 644 | + | |
| 645 | + | |
644 | 646 | | |
645 | | - | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
| 650 | + | |
646 | 651 | | |
647 | | - | |
| 652 | + | |
| 653 | + | |
| 654 | + | |
648 | 655 | | |
649 | | - | |
650 | | - | |
651 | | - | |
652 | 656 | | |
653 | 657 | | |
654 | 658 | | |
| |||
0 commit comments