Skip to content

Commit

Permalink
[SandboxIR][NFC] Remove trailing whitespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
vporpo committed Jul 26, 2024
1 parent 5a9b9ef commit efd13eb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion llvm/include/llvm/SandboxIR/SandboxIR.h
Original file line number Diff line number Diff line change
Expand Up @@ -760,7 +760,7 @@ class LoadInst final : public Instruction {

public:
/// Return true if this is a load from a volatile memory location.
bool isVolatile() const { return cast<llvm::LoadInst>(Val)->isVolatile(); }
bool isVolatile() const { return cast<llvm::LoadInst>(Val)->isVolatile(); }

unsigned getUseOperandNo(const Use &Use) const final {
return getUseOperandNoDefault(Use);
Expand Down
2 changes: 1 addition & 1 deletion llvm/unittests/SandboxIR/SandboxIRTest.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ define void @foo(ptr %arg0, ptr %arg1) {

// Check isVolatile()
EXPECT_FALSE(Ld->isVolatile());
// Check isVolatile()
// Check isVolatile()
EXPECT_TRUE(Vld->isVolatile());
// Check getPointerOperand()
EXPECT_EQ(Ld->getPointerOperand(), Arg0);
Expand Down

0 comments on commit efd13eb

Please sign in to comment.