aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/Transforms/Utils/LoopUtils.cpp
diff options
context:
space:
mode:
authorDavid Green <david.green@arm.com>2020-01-22 15:59:33 +0000
committerDavid Green <david.green@arm.com>2020-01-22 17:56:55 +0000
commit58991ba773774f7dbdf2844a737845298e9e71bb (patch)
tree54b2c723965c9bd6d5a88e865d719c8746f5e852 /llvm/lib/Transforms/Utils/LoopUtils.cpp
parentcd470717d15854fb778f2c96667ba36672af6cf5 (diff)
downloadllvm-58991ba773774f7dbdf2844a737845298e9e71bb.zip
llvm-58991ba773774f7dbdf2844a737845298e9e71bb.tar.gz
llvm-58991ba773774f7dbdf2844a737845298e9e71bb.tar.bz2
[ARM] Mark MVE loads/store as not having side effects
The hasSideEffect parameter is usually automatically inferred from instruction patterns. For some of our MVE instructions, we do not have patterns though, such as for the pre/post inc loads and stores. This instead specifies the flag manually on the base MVE_VLDRSTR_base tablegen class, making sure we get this correct. This can help with scheduling multiple loads more optimally. Here I've added a unittest as a more direct form of testing. Differential Revision: https://reviews.llvm.org/D73117
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopUtils.cpp')
0 files changed, 0 insertions, 0 deletions