[llvm] 9b14831 - [SandboxIR][NFC] Removed comments from LoadInst test case (#101099)
via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 29 19:16:26 PDT 2024
Author: Julius Alexandre
Date: 2024-07-29T19:16:22-07:00
New Revision: 9b14831a4ade78d06754f2112aead3b99f73a98a
URL: https://github.com/llvm/llvm-project/commit/9b14831a4ade78d06754f2112aead3b99f73a98a
DIFF: https://github.com/llvm/llvm-project/commit/9b14831a4ade78d06754f2112aead3b99f73a98a.diff
LOG: [SandboxIR][NFC] Removed comments from LoadInst test case (#101099)
Added:
Modified:
llvm/unittests/SandboxIR/SandboxIRTest.cpp
Removed:
################################################################################
diff --git a/llvm/unittests/SandboxIR/SandboxIRTest.cpp b/llvm/unittests/SandboxIR/SandboxIRTest.cpp
index 94065c008dd8c..a0f0778f34c45 100644
--- a/llvm/unittests/SandboxIR/SandboxIRTest.cpp
+++ b/llvm/unittests/SandboxIR/SandboxIRTest.cpp
@@ -766,7 +766,6 @@ define void @foo(ptr %arg0, ptr %arg1) {
sandboxir::LoadInst *NewLd =
sandboxir::LoadInst::create(Ld->getType(), Arg1, Align(8),
/*InsertBefore=*/Ret, Ctx, "NewLd");
- // Checking if create() was volatile
EXPECT_FALSE(NewLd->isVolatile());
EXPECT_EQ(NewLd->getType(), Ld->getType());
EXPECT_EQ(NewLd->getPointerOperand(), Arg1);
@@ -778,7 +777,6 @@ define void @foo(ptr %arg0, ptr %arg1) {
/*InsertBefore=*/Ret,
/*IsVolatile=*/true, Ctx, "NewVLd");
- // Checking if create() was volatile
EXPECT_TRUE(NewVLd->isVolatile());
EXPECT_EQ(NewVLd->getName(), "NewVLd");
// Check create(InsertAtEnd)
More information about the llvm-commits
mailing list