[PATCH 14/79] [Backport to 15] Put memory(none) attribute instead of readnone (#1746)
authorDmitry Sidorov <dmitry.sidorov@intel.com>
Tue, 29 Nov 2022 11:55:12 +0000 (12:55 +0100)
committerAndreas Beckmann <anbe@debian.org>
Thu, 8 Feb 2024 21:48:18 +0000 (22:48 +0100)
commit4acbd55466a0b01a38be308bfffe73f621cc3b28
treebe6af38325dd258661bf780ad64b899cd9a22303
parent872c11b13e2cad453754d6ee5f61bf087456989c
[PATCH 14/79] [Backport to 15] Put memory(none) attribute instead of readnone (#1746)

Instead of creating readnone attributes on each parameter of
a function it's better to put just memory(none) which was recently
introduced.

See https://reviews.llvm.org/D135780

Co-authored by: Zou, Feng <feng.zou@intel.com>

Signed-off-by: Sidorov, Dmitry <dmitry.sidorov@intel.com>
Gbp-Pq: Name 0014-Backport-to-15-Put-memory-none-attribute-instead-of-.patch
lib/SPIRV/SPIRVReader.cpp
lib/SPIRV/SPIRVUtil.cpp
test/transcoding/builtin_vars_arithmetics.ll