llvm-project/mlir/lib/Target
Alex Zinenko bdaf038266 [mlir] Always create a list of alias scopes when emitting LLVM IR
Previously, the translation to LLVM IR would emit IR that directly uses
a scope metadata node in case only one scope was in use in alias.scopes
or noalias metadata. It should always be a list of scopes. The verifier
change in 8700f2bd36 enforced this and
broke the test. Fix the translation to always create a list of scopes
using a new metadata node, update and reenable the respective test.

Fixes PR51919.

Reviewed By: mehdi_amini

Differential Revision: https://reviews.llvm.org/D110140
2021-09-22 00:00:46 +02:00
..
Cpp [mlir][emitc] Fix indent in CondBranchOp and block label 2021-09-19 20:03:42 +08:00
LLVMIR [mlir] Always create a list of alias scopes when emitting LLVM IR 2021-09-22 00:00:46 +02:00
SPIRV [Builder] Eliminate the StringRef/StringAttr forms of getSymbolRefAttr. 2021-08-30 16:05:36 -07:00
CMakeLists.txt [mlir] Add Cpp emitter 2021-09-02 13:51:05 +00:00