[all-commits] [llvm/llvm-project] 9a7e30: [VectorCombine] Add tests for UB issue, remove imm...

Luke Lau via All-commits all-commits at lists.llvm.org
Sun May 4 21:22:30 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 9a7e307b64b52fac74df9d1f7c2696939e4627f1
      https://github.com/llvm/llvm-project/commit/9a7e307b64b52fac74df9d1f7c2696939e4627f1
  Author: Luke Lau <luke at igalia.com>
  Date:   2025-05-05 (Mon, 05 May 2025)

  Changed paths:
    M llvm/test/Transforms/VectorCombine/AArch64/scalarize-scalable.ll
    M llvm/test/Transforms/VectorCombine/X86/insert-binop-with-constant-inseltpoison.ll
    M llvm/test/Transforms/VectorCombine/X86/insert-binop-with-constant.ll
    A llvm/test/Transforms/VectorCombine/binop-scalarize.ll

  Log Message:
  -----------
  [VectorCombine] Add tests for UB issue, remove immediate UB from existing tests. NFC (#138395)

This adds a test that exercises the part of scalarizeBinOpOrCmp that
produces immediate UB as described in
https://github.com/llvm/llvm-project/pull/138095#discussion_r2070133432,
but is fortunately currently folded into a correct transform.

I also noticed a bunch of immediate UB in some of the existing tests so
this also cleans them up. They should still all be scalarized though.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list