[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
================
@@ -797,6 +813,10 @@ define void @foo(ptr %arg0, ptr %arg1) {
/*InsertAtEnd=*/BB,
/*IsVolatile=*/true, Ctx, "NewVLdEnd");
EXPECT_TRUE(NewVLdEnd->isVolatile());
+ OrigVolatileValue = NewVLdEnd->isVolatile();
----------------
vporpo wrote:
Same here, I would remove these checks.
https://github.com/llvm/llvm-project/pull/101759
More information about the llvm-commits
mailing list