diff options
author | Jannik Silvanus <jannik.silvanus@amd.com> | 2022-11-02 16:51:01 +0100 |
---|---|---|
committer | Jannik Silvanus <jannik.silvanus@amd.com> | 2022-11-03 09:22:47 +0100 |
commit | 9135137718bbb8322dc42a1026ce3f843bbeacc6 (patch) | |
tree | 88c5d22552bad52c4134e15f6c47f0cb043dac51 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp | |
parent | 020a9d7b20a2f405b6fd61be0d9f946da44c79af (diff) | |
download | llvm-9135137718bbb8322dc42a1026ce3f843bbeacc6.zip llvm-9135137718bbb8322dc42a1026ce3f843bbeacc6.tar.gz llvm-9135137718bbb8322dc42a1026ce3f843bbeacc6.tar.bz2 |
[llvm-diff] Precommit: Add loop test case with forward reference
Diffing phi nodes was recently added to llvm-diff.
However, there currently is a limitation where equivalent values
cannot be detected as such, leading to false positive diff reports.
If a phi node refers a value defined in a basic block dominated by
the current basic block, for example a phi node in a loop header referring
a value defined in the loop body, we cannot prove equivalence of the referred
values, because the basic block containing the variable definition has
not yet been processed.
This commit adds a test case showing this behavior, serving as a precommit
for an upcoming fix of the above.
Differential Revision: https://reviews.llvm.org/D137262
Diffstat (limited to 'llvm/lib/Bitcode/Writer/BitcodeWriter.cpp')
0 files changed, 0 insertions, 0 deletions