[all-commits] [llvm/llvm-project] f09d32: [ConstantFold] Don't drop zero index gep with inra...

Nikita Popov via All-commits all-commits at lists.llvm.org
Fri Jan 6 03:06:58 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: f09d32d121cdb77603b677c9666cfffb2186f86c
      https://github.com/llvm/llvm-project/commit/f09d32d121cdb77603b677c9666cfffb2186f86c
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2023-01-06 (Fri, 06 Jan 2023)

  Changed paths:
    M llvm/lib/IR/ConstantFold.cpp
    M llvm/test/Assembler/getelementptr.ll

  Log Message:
  -----------
  [ConstantFold] Don't drop zero index gep with inrange attribute

This may cause GlobalSplit to fail if opaque pointers are used.

inrange really needs a new representation, but for now restore the
pre-opaque pointers status.




More information about the All-commits mailing list