[llvm] [SandboxIR] Added setVolatile function to LoadInst and StoreInst (PR #101759)
via llvm-commits
llvm-commits at lists.llvm.org
Fri Aug 2 15:18:27 PDT 2024
================
@@ -858,6 +889,11 @@ define void @foo(i8 %val, ptr %ptr) {
sandboxir::StoreInst::create(Val, Ptr, Align(8),
/*InsertAtEnd=*/BB, Ctx);
EXPECT_FALSE(NewStEnd->isVolatile());
+ OrigVolatileValue = NewStEnd->isVolatile();
----------------
vporpo wrote:
Same here, remove these checks.
https://github.com/llvm/llvm-project/pull/101759
More information about the llvm-commits
mailing list