aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/IR/Function.cpp
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2023-07-18 11:28:13 +0200
committerNikita Popov <npopov@redhat.com>2023-07-18 11:31:41 +0200
commit8db30225ecc433fd02b623bc4789904930892eb7 (patch)
treeaaf495d6879258b5adc3c5ae4b9467a5062d8a91 /llvm/lib/IR/Function.cpp
parentfe705c3426b4ea30d210465553862628b07300b1 (diff)
downloadllvm-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