diff options
author | Nikita Popov <npopov@redhat.com> | 2023-07-18 11:28:13 +0200 |
---|---|---|
committer | Nikita Popov <npopov@redhat.com> | 2023-07-18 11:31:41 +0200 |
commit | 8db30225ecc433fd02b623bc4789904930892eb7 (patch) | |
tree | aaf495d6879258b5adc3c5ae4b9467a5062d8a91 /llvm/lib/IR/Function.cpp | |
parent | fe705c3426b4ea30d210465553862628b07300b1 (diff) | |
download | llvm-8db30225ecc433fd02b623bc4789904930892eb7.zip llvm-8db30225ecc433fd02b623bc4789904930892eb7.tar.gz llvm-8db30225ecc433fd02b623bc4789904930892eb7.tar.bz2 |
[OpenMPIRBuilder] Check GV type instead of pointee type (NFC)
Change the assertion to check the value type instead of the pointee
type. To facilitate this, store GlobalVariable* instead of Constant*
in the map.
Diffstat (limited to 'llvm/lib/IR/Function.cpp')
0 files changed, 0 insertions, 0 deletions