Commit ee79716
committed
[flang][NFC] AliasAnalysis: Use Indirect not Unknown for LoadOp
As mentioned at
<#126156 (comment)>:
PR #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 8fc03e4 commit ee79716
1 file changed
+5
-6
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
641 | 641 | | |
642 | 642 | | |
643 | 643 | | |
| 644 | + | |
| 645 | + | |
644 | 646 | | |
645 | | - | |
646 | | - | |
647 | | - | |
| 647 | + | |
| 648 | + | |
| 649 | + | |
648 | 650 | | |
649 | | - | |
650 | | - | |
651 | | - | |
652 | 651 | | |
653 | 652 | | |
654 | 653 | | |
| |||
0 commit comments