[all-commits] [llvm/llvm-project] fd5e49: [PhaseOrdering] add tests for vector select; NFC

RotateRight via All-commits all-commits at lists.llvm.org
Tue Dec 14 11:38:14 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: fd5e493874e1e288daf8d19a038f7db3a897359f
      https://github.com/llvm/llvm-project/commit/fd5e493874e1e288daf8d19a038f7db3a897359f
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-12-14 (Tue, 14 Dec 2021)

  Changed paths:
    M llvm/test/Transforms/InstCombine/and.ll
    A llvm/test/Transforms/PhaseOrdering/vector-select.ll

  Log Message:
  -----------
  [PhaseOrdering] add tests for vector select; NFC

The 1st test corresponds to a minimally optimized (mem2reg)
version of the example in:
issue #52631

The 2nd test copies an existing instcombine test with the
same pattern. If we canonicalize differently, we can miss
reducing to minimal form in a single invocation of
-instcombine, but that should not escape the normal opt
pipeline.




More information about the All-commits mailing list