llvm-project/mlir/test/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] Fix printing of EmitC attrs/types with escape characters 2021-09-15 18:15:38 +00:00
LLVMIR [mlir] Always create a list of alias scopes when emitting LLVM IR 2021-09-22 00:00:46 +02:00
SPIRV [mlir][spirv] Add support for i8 serialization 2021-07-30 18:06:11 -04:00