diff options
author | Serguei Katkov <serguei.katkov@azul.com> | 2020-03-16 14:15:28 +0700 |
---|---|---|
committer | Serguei Katkov <serguei.katkov@azul.com> | 2020-03-17 10:20:16 +0700 |
commit | 80c351cdb6eaa1a243693d98f24b559fb69746ba (patch) | |
tree | a7c897b21ac0082a63e20b429735117c298a616f /llvm/lib/Transforms/Utils/LoopRotationUtils.cpp | |
parent | fa72b29bec061272d5f724e075438ef37b6fe369 (diff) | |
download | llvm-80c351cdb6eaa1a243693d98f24b559fb69746ba.zip llvm-80c351cdb6eaa1a243693d98f24b559fb69746ba.tar.gz llvm-80c351cdb6eaa1a243693d98f24b559fb69746ba.tar.bz2 |
[InstCombine] Transform to undef incorrect atomic unordered mem intrinsics
According to LangRef:
If len is not a positive integer multiple of element_size, then the behaviour of the intrinsic is undefined.
Add InstCombine rule to transform intrinsic to undef operation.
This is a follow-up for D76116.
Reviewers: reames
Reviewed By: reames
Subscribers: hiraditya, jfb, dantrushin, llvm-commits
Differential Revision: https://reviews.llvm.org/D76215
Diffstat (limited to 'llvm/lib/Transforms/Utils/LoopRotationUtils.cpp')
0 files changed, 0 insertions, 0 deletions