aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
diff options
context:
space:
mode:
authorJannik Silvanus <jannik.silvanus@amd.com>2022-11-02 16:51:01 +0100
committerJannik Silvanus <jannik.silvanus@amd.com>2022-11-03 09:22:47 +0100
commit9135137718bbb8322dc42a1026ce3f843bbeacc6 (patch)
tree88c5d22552bad52c4134e15f6c47f0cb043dac51 /llvm/lib/Bitcode/Writer/BitcodeWriter.cpp
parent020a9d7b20a2f405b6fd61be0d9f946da44c79af (diff)
downloadllvm-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