[all-commits] [llvm/llvm-project] 04395f: [ConstantFolding] Separate conditions in GEP evalu...

Nikita Popov via All-commits all-commits at lists.llvm.org
Tue Jun 22 02:23:07 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 04395fd6cb0949dfe628353cd61bcec3625b8c0d
      https://github.com/llvm/llvm-project/commit/04395fd6cb0949dfe628353cd61bcec3625b8c0d
  Author: Nikita Popov <nikita.ppv at gmail.com>
  Date:   2021-06-22 (Tue, 22 Jun 2021)

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

  Log Message:
  -----------
  [ConstantFolding] Separate conditions in GEP evaluation (NFC)

Handle to gep p, 0-v case separately, and not as part of the loop
that ensures all indices are constant integers. Those two things
are not really related.




More information about the All-commits mailing list