[all-commits] [llvm/llvm-project] 98f16d: [InstSimplify] Simplify simplifyRelativeLoad (NFCI)

Nikita Popov via All-commits all-commits at lists.llvm.org
Wed Aug 9 07:18:22 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 98f16dfa136636ea8d83ed326c92c5ce3d42bd72
      https://github.com/llvm/llvm-project/commit/98f16dfa136636ea8d83ed326c92c5ce3d42bd72
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-08-09 (Wed, 09 Aug 2023)

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

  Log Message:
  -----------
  [InstSimplify] Simplify simplifyRelativeLoad (NFCI)

Drop an unnecessary bitcast and make use of the
ConstantFoldLoadFromConstPtr API that accepts an Offset, instead
of going through a GEP expression.




More information about the All-commits mailing list