[all-commits] [llvm/llvm-project] 765b5b: [ConstProp] add tests for intrinsics with poison o...

Sanjay Patel via All-commits all-commits at lists.llvm.org
Tue Feb 15 07:47:13 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 765b5b810589fc0a1f2ed982b6b442648c79f470
      https://github.com/llvm/llvm-project/commit/765b5b810589fc0a1f2ed982b6b442648c79f470
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-02-15 (Tue, 15 Feb 2022)

  Changed paths:
    M llvm/test/Transforms/InstSimplify/ConstProp/min-max.ll
    M llvm/test/Transforms/InstSimplify/ConstProp/saturating-add-sub.ll

  Log Message:
  -----------
  [ConstProp] add tests for intrinsics with poison ops; NFC


  Commit: 00218c188b75485ff1c9607c862e9f91663267a5
      https://github.com/llvm/llvm-project/commit/00218c188b75485ff1c9607c862e9f91663267a5
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-02-15 (Tue, 15 Feb 2022)

  Changed paths:
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/test/Transforms/InstSimplify/ConstProp/min-max.ll

  Log Message:
  -----------
  [Analysis] propagate poison through integer min/max intrinsics

A more general enhancement needs to add tests and make sure
that intrinsics that return structs are correct. There are also
target-specific intrinsics, and I'm not sure what behavior is
expected for those.


  Commit: 7cc0a29b3ffa2d89b4d1c2f8f52b8c393b0d41da
      https://github.com/llvm/llvm-project/commit/7cc0a29b3ffa2d89b4d1c2f8f52b8c393b0d41da
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-02-15 (Tue, 15 Feb 2022)

  Changed paths:
    M llvm/lib/Analysis/ConstantFolding.cpp
    M llvm/test/Transforms/InstSimplify/ConstProp/saturating-add-sub.ll

  Log Message:
  -----------
  [Analysis] propagate poison through add/sub saturate intrinsics

A more general enhancement needs to add tests and make sure
that intrinsics that return structs are correct. There are also
target-specific intrinsics, and I'm not sure what behavior is
expected for those.


Compare: https://github.com/llvm/llvm-project/compare/05337a756c66...7cc0a29b3ffa


More information about the All-commits mailing list