[all-commits] [llvm/llvm-project] 236f82: [InstCombine] add tests for fcmp-of-copysign; NFC

RotateRight via All-commits all-commits at lists.llvm.org
Wed Feb 17 07:32:55 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 236f82c64088c63fcb333d0f9999154c4e77f2c5
      https://github.com/llvm/llvm-project/commit/236f82c64088c63fcb333d0f9999154c4e77f2c5
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-02-17 (Wed, 17 Feb 2021)

  Changed paths:
    M llvm/test/Transforms/InstCombine/fcmp.ll

  Log Message:
  -----------
  [InstCombine] add tests for fcmp-of-copysign; NFC

https://llvm.org/PR49179


  Commit: 85294703a74a532448b3d3801d4e9a5c6024547a
      https://github.com/llvm/llvm-project/commit/85294703a74a532448b3d3801d4e9a5c6024547a
  Author: Sanjay Patel <spatel at rotateright.com>
  Date:   2021-02-17 (Wed, 17 Feb 2021)

  Changed paths:
    M llvm/lib/Transforms/InstCombine/InstCombineCompares.cpp
    M llvm/test/Transforms/InstCombine/fcmp.ll

  Log Message:
  -----------
  [InstCombine] fold fcmp-of-copysign idiom

As discussed in:
https://llvm.org/PR49179
...this pattern shows up in library code.
There are several potential generalizations as noted,
but we need to be careful that we get FP special-values
right, and it's not clear how much variation we should
expect to see from this exact idiom.


Compare: https://github.com/llvm/llvm-project/compare/44ea794cf9ab...85294703a74a


More information about the All-commits mailing list