[MLIR] Don't verify opaque pointer type in atomicrmw
authorNikita Popov <npopov@redhat.com>
Tue, 17 Jan 2023 10:06:23 +0000 (11:06 +0100)
committerNikita Popov <npopov@redhat.com>
Tue, 17 Jan 2023 10:06:23 +0000 (11:06 +0100)
commit64ce05635c2a2e5fe01e1bf6899acc66f9c0d882
treedd58a5c429b941a30c84f0cfa4259372c30439a9
parentfbb1b122ec2126baf0743f38ae2ec4ae8a5f9f9e
[MLIR] Don't verify opaque pointer type in atomicrmw

If the pointer type is opaque, we should not check the element type.
This causes a verifier failure when converting instructions.ll to
opaque pointers.
mlir/lib/Dialect/LLVMIR/IR/LLVMDialect.cpp
mlir/test/Target/LLVMIR/Import/instructions.ll