[all-commits] [llvm/llvm-project] 28b977: [OpaquePtr] Make GEPs work with opaque pointers
aeubanks via All-commits
all-commits at lists.llvm.org
Wed May 19 12:40:01 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 28b9771472fa3df2568b6c5de1a9726680d940d3
https://github.com/llvm/llvm-project/commit/28b9771472fa3df2568b6c5de1a9726680d940d3
Author: Arthur Eubanks <aeubanks at google.com>
Date: 2021-05-19 (Wed, 19 May 2021)
Changed paths:
M llvm/include/llvm/IR/Instructions.h
M llvm/lib/AsmParser/LLParser.cpp
M llvm/lib/Bitcode/Reader/BitcodeReader.cpp
M llvm/test/Assembler/opaque-ptr.ll
Log Message:
-----------
[OpaquePtr] Make GEPs work with opaque pointers
No verifier changes needed, the verifier currently doesn't check that
the pointer operand's pointee type matches the GEP type. There is a
similar check in GetElementPtrInst::Create() though.
Reviewed By: dblaikie
Differential Revision: https://reviews.llvm.org/D102744
More information about the All-commits
mailing list