[all-commits] [llvm/llvm-project] 1c9f15: [GVN] Replace PointerIntPair with separate pointer...

Florian Hahn via All-commits all-commits at lists.llvm.org
Wed Feb 2 01:44:30 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1c9f15426fb04d6601749da711f41af89869d494
      https://github.com/llvm/llvm-project/commit/1c9f15426fb04d6601749da711f41af89869d494
  Author: Florian Hahn <flo at fhahn.com>
  Date:   2022-02-02 (Wed, 02 Feb 2022)

  Changed paths:
    M llvm/lib/Transforms/Scalar/GVN.cpp

  Log Message:
  -----------
  [GVN] Replace PointerIntPair with separate pointer & kind fields (NFC).

After adding another value kind in 8a12cae862af, Value * pointers do not
have enough available empty bits to store the kind (e.g. on ARM)

To address this, the patch replaces the PointerIntPair with separate
value and kind fields.




More information about the All-commits mailing list