[IRBuilder] Avoid fetching pointer element type in some assertions
authorNikita Popov <nikita.ppv@gmail.com>
Sat, 3 Jul 2021 10:44:21 +0000 (12:44 +0200)
committerNikita Popov <nikita.ppv@gmail.com>
Sat, 3 Jul 2021 10:52:55 +0000 (12:52 +0200)
commite91440628e77bbde7065a40231b776e47f19beb8
treeff571a7e9a916ae568e5d601207870ce2efc124a
parent45e5214b4354d4f9150fcc1ea1997280f709b3dc
[IRBuilder] Avoid fetching pointer element type in some assertions

Specifically the CreateMaskedStore and CreateMaskedScatter APIs.
The CreateMaskedLoad and CreateMaskedGather APIs will need an
additional type argument.
llvm/lib/IR/IRBuilder.cpp