[all-commits] [llvm/llvm-project] 751365: [ConstantFolding] Remove unnecessary pointer handl...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Nov 10 05:54:54 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 7513650be68bc087f280724415a00fef8b5bf898
      https://github.com/llvm/llvm-project/commit/7513650be68bc087f280724415a00fef8b5bf898
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-11-10 (Fri, 10 Nov 2023)

  Changed paths:
    M llvm/lib/Analysis/ConstantFolding.cpp

  Log Message:
  -----------
  [ConstantFolding] Remove unnecessary pointer handling in FoldBitCast (NFCI)

The destination element type here cannot be a pointer type, as
this would require an inttoptr rather than bitcast.




More information about the All-commits mailing list