[TEST] Pre-commit test for GVN PRE load
authorGuozhi Wei <carrot@google.com>
Tue, 20 Dec 2022 18:43:31 +0000 (18:43 +0000)
committerGuozhi Wei <carrot@google.com>
Tue, 20 Dec 2022 18:43:31 +0000 (18:43 +0000)
commit4c13af22b4d40506ff756c1d48c5e57701d59e13
tree5c5274bfe5bab2cc3b29dd4b2c41932d87a4cddf
parent4e018c7cbb5d2503b10517e295d2ba0d222cd653
[TEST] Pre-commit test for GVN PRE load

This is a test case for D139582.

In this test case, %v4 and %v5 can be moved to predecessors, %v3 can be changed to a PHI instruction.

Differential Revision: https://reviews.llvm.org/D140234
llvm/test/Transforms/GVN/PRE/pre-load.ll