[llvm] efd13eb - [SandboxIR][NFC] Remove trailing whitespaces

Vasileios Porpodas via llvm-commits llvm-commits at lists.llvm.org
Fri Jul 26 13:29:46 PDT 2024


Author: Vasileios Porpodas
Date: 2024-07-26T13:29:01-07:00
New Revision: efd13eb305dcc394cd038d6c332df64e96276baa

URL: https://github.com/llvm/llvm-project/commit/efd13eb305dcc394cd038d6c332df64e96276baa
DIFF: https://github.com/llvm/llvm-project/commit/efd13eb305dcc394cd038d6c332df64e96276baa.diff

LOG: [SandboxIR][NFC] Remove trailing whitespaces

Added: 
    

Modified: 
    llvm/include/llvm/SandboxIR/SandboxIR.h
    llvm/unittests/SandboxIR/SandboxIRTest.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/SandboxIR/SandboxIR.h b/llvm/include/llvm/SandboxIR/SandboxIR.h
index 1589369a6a4bc..5c89f165c9647 100644
--- a/llvm/include/llvm/SandboxIR/SandboxIR.h
+++ b/llvm/include/llvm/SandboxIR/SandboxIR.h
@@ -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);

diff  --git a/llvm/unittests/SandboxIR/SandboxIRTest.cpp b/llvm/unittests/SandboxIR/SandboxIRTest.cpp
index a9569d194cd8c..0565e87ce9517 100644
--- a/llvm/unittests/SandboxIR/SandboxIRTest.cpp
+++ b/llvm/unittests/SandboxIR/SandboxIRTest.cpp
@@ -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);


        


More information about the llvm-commits mailing list