[all-commits] [llvm/llvm-project] ff523a: [CVP] Add additional switch tests (NFC)
Nikita Popov via All-commits
all-commits at lists.llvm.org
Sat Dec 12 11:58:23 PST 2020
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: ff523aa441fe65971a0815cef43ec63eba749947
https://github.com/llvm/llvm-project/commit/ff523aa441fe65971a0815cef43ec63eba749947
Author: Nikita Popov <nikita.ppv at gmail.com>
Date: 2020-12-12 (Sat, 12 Dec 2020)
Changed paths:
M llvm/test/Transforms/CorrelatedValuePropagation/basic.ll
Log Message:
-----------
[CVP] Add additional switch tests (NFC)
These cover cases handled by getPredicateAt(), but not by the
current implementation:
* Assumes based on context instruction.
* Value from phi node in same block (using per-pred reasoning).
* Value from non-phi node in same block (using block-val reasoning).
More information about the All-commits
mailing list