[all-commits] [llvm/llvm-project] 44c3c9: [InstSimplify] add tests for vectors with NaN + pa...

Sanjay Patel via All-commits all-commits at lists.llvm.org
Mon Dec 12 14:52:30 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 44c3c93eae0104d1cb0106c1abd8b1614f72b2f9
      https://github.com/llvm/llvm-project/commit/44c3c93eae0104d1cb0106c1abd8b1614f72b2f9
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-12-12 (Mon, 12 Dec 2022)

  Changed paths:
    M llvm/test/Transforms/InstSimplify/fp-nan.ll

  Log Message:
  -----------
  [InstSimplify] add tests for vectors with NaN + partial undef; NFC

issue #59122


  Commit: 9055661b958753df6e4ea546ddcec9a7e8fa8f20
      https://github.com/llvm/llvm-project/commit/9055661b958753df6e4ea546ddcec9a7e8fa8f20
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2022-12-12 (Mon, 12 Dec 2022)

  Changed paths:
    M llvm/lib/Analysis/InstructionSimplify.cpp
    M llvm/test/Transforms/InstSimplify/fminmax-folds.ll
    M llvm/test/Transforms/InstSimplify/fp-nan.ll

  Log Message:
  -----------
  [InstSimplify] try harder to propagate existing NaN values through FP folds

Any undef element in a vector would trigger the whole constant
to be replaced with a canonical NaN. This propagates each
element when possible.

issue #59122


Compare: https://github.com/llvm/llvm-project/compare/96ac1aeaf4a4...9055661b9587


More information about the All-commits mailing list