[all-commits] [llvm/llvm-project] 22f915: [BitcodeReader] Support GEP without indices

Nikita Popov via All-commits all-commits at lists.llvm.org
Thu Mar 10 06:49:03 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 22f9159bed3eb0694682590b68b879df64f010c4
      https://github.com/llvm/llvm-project/commit/22f9159bed3eb0694682590b68b879df64f010c4
  Author: Nikita Popov <npopov at redhat.com>
  Date:   2022-03-10 (Thu, 10 Mar 2022)

  Changed paths:
    M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
    A llvm/test/Bitcode/getelementptr-zero-indices.ll

  Log Message:
  -----------
  [BitcodeReader] Support GEP without indices

LLVM considers these to be legal, so make sure the bitcode reader
can read them. I broke this when implementing opaque pointer
auto upgrade support.




More information about the All-commits mailing list