[llvm] r210222 - Use nullptr

Matt Arsenault Matthew.Arsenault at amd.com
Wed Jun 4 17:01:12 PDT 2014


Author: arsenm
Date: Wed Jun  4 19:01:12 2014
New Revision: 210222

URL: http://llvm.org/viewvc/llvm-project?rev=210222&view=rev
Log:
Use nullptr

Modified:
    llvm/trunk/lib/Target/R600/SIISelLowering.cpp

Modified: llvm/trunk/lib/Target/R600/SIISelLowering.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/R600/SIISelLowering.cpp?rev=210222&r1=210221&r2=210222&view=diff
==============================================================================
--- llvm/trunk/lib/Target/R600/SIISelLowering.cpp (original)
+++ llvm/trunk/lib/Target/R600/SIISelLowering.cpp Wed Jun  4 19:01:12 2014
@@ -1371,7 +1371,6 @@ SDNode *SITargetLowering::foldOperands(M
       continue;
 
     if (DescE64) {
-
       // Test if it makes sense to switch to e64 encoding
       unsigned OtherRegClass = DescE64->OpInfo[Op].RegClass;
       if (!isVSrc(OtherRegClass) && !isSSrc(OtherRegClass))
@@ -1402,7 +1401,7 @@ SDNode *SITargetLowering::foldOperands(M
       if (!DescE64)
         continue;
       Desc = DescE64;
-      DescE64 = 0;
+      DescE64 = nullptr;
     }
     else if (Operand.getMachineOpcode() == AMDGPU::FABS_SI) {
       Ops.pop_back();
@@ -1412,7 +1411,7 @@ SDNode *SITargetLowering::foldOperands(M
       if (!DescE64)
         continue;
       Desc = DescE64;
-      DescE64 = 0;
+      DescE64 = nullptr;
     }
   }
 





More information about the llvm-commits mailing list