[PATCH] D77213: Handle part-word LL/SC in atomic expansion pass
Brian Cain via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Sat Apr 25 18:35:41 PDT 2020
bcain added a comment.
In D77213#2003730 <https://reviews.llvm.org/D77213#2003730>, @bcain wrote:
> If I apply this patch I am still able to encounter this `unreachable` during a build. I can share repro details.
Here's a test case that triggers here:
%struct.a = type { i8 }
define void @b() {
%d = alloca %struct.a%c = getelementptr %struct.a, %struct.a* %d, i32 0, i32 0 atomicrmw add i8* %c, i8 2 monotonic
ret void
}
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D77213/new/
https://reviews.llvm.org/D77213
More information about the llvm-commits
mailing list