[all-commits] [llvm/llvm-project] 3927b9: [VectorCombine] Add tests for unspeculatable VP bi...

Luke Lau via All-commits all-commits at lists.llvm.org
Wed Oct 18 11:23:23 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3927b9ab11541b23c29e5ab2bdd8976aed2ce8b9
      https://github.com/llvm/llvm-project/commit/3927b9ab11541b23c29e5ab2bdd8976aed2ce8b9
  Author: Luke Lau <luke at igalia.com>
  Date:   2023-10-18 (Wed, 18 Oct 2023)

  Changed paths:
    M llvm/test/Transforms/VectorCombine/RISCV/vpintrin-scalarization.ll

  Log Message:
  -----------
  [VectorCombine] Add tests for unspeculatable VP binops. NFC

The current test cases to guard against speculative execution can actually be
safely speculated because the denominator is known to be not 0 or -1, and
isSafeToSpeculativelyExecuteWithOpcode will account for this. This adds some
more test cases and rejigs some existing ones to use an unknown variable
instead.




More information about the All-commits mailing list