[all-commits] [llvm/llvm-project] 6a19cb: [ConstantFold] Support pointers in reinterpret loa...

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


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6a19cb837c9b2ca14642bb0a8f1234903e4430d0
      https://github.com/llvm/llvm-project/commit/6a19cb837c9b2ca14642bb0a8f1234903e4430d0
  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] Support pointers in reinterpret load folding

Peculiarly, the necessary code to handle pointers (including the
check for non-integral address spaces) is already in place,
because we were already allowing vectors of pointers here, just
not plain pointers.




More information about the All-commits mailing list