[all-commits] [llvm/llvm-project] 3f9d1f: [InstSimplify] Add tests for reinterpret load of f...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Jan 21 00:27:07 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3f9d1f516e19cc9548cf17ec60b73300d4ab8360
      https://github.com/llvm/llvm-project/commit/3f9d1f516e19cc9548cf17ec60b73300d4ab8360
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-01-21 (Fri, 21 Jan 2022)

  Changed paths:
    M llvm/test/Transforms/InstSimplify/ConstProp/loads.ll

  Log Message:
  -----------
  [InstSimplify] Add tests for reinterpret load of floats (NFC)

Add tests for currently unsupported float types.


  Commit: b4900296e4a51b0076bac69b31871c7a29efa90f
      https://github.com/llvm/llvm-project/commit/b4900296e4a51b0076bac69b31871c7a29efa90f
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-01-21 (Fri, 21 Jan 2022)

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

  Log Message:
  -----------
  [ConstantFold] Allow all float types in reinterpret load folding

Rather than hardcoding just half, float and double, allow all
floating point types.


Compare: https://github.com/llvm/llvm-project/compare/7950010e4983...b4900296e4a5


More information about the All-commits mailing list