[llvm] r297841 - Reverted unintended commit

Simon Pilgrim via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 15 07:47:30 PDT 2017


Author: rksimon
Date: Wed Mar 15 09:47:30 2017
New Revision: 297841

URL: http://llvm.org/viewvc/llvm-project?rev=297841&view=rev
Log:
Reverted unintended commit

Modified:
    llvm/trunk/lib/Target/AMDGPU/GCNHazardRecognizer.cpp

Modified: llvm/trunk/lib/Target/AMDGPU/GCNHazardRecognizer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Target/AMDGPU/GCNHazardRecognizer.cpp?rev=297841&r1=297840&r2=297841&view=diff
==============================================================================
--- llvm/trunk/lib/Target/AMDGPU/GCNHazardRecognizer.cpp (original)
+++ llvm/trunk/lib/Target/AMDGPU/GCNHazardRecognizer.cpp Wed Mar 15 09:47:30 2017
@@ -72,8 +72,8 @@ static bool isRFE(unsigned Opcode) {
 }
 
 static bool isSMovRel(unsigned Opcode) {
-  return Opcode == AMDGPU::S_MOVRELS_B32 || Opcode == AMDGPU::S_MOVRELS_B64 ||
-         Opcode == AMDGPU::S_MOVRELD_B32 || Opcode == AMDGPU::S_MOVRELD_B64;
+  return Opcode == AMDGPU::S_MOVRELS_B32 || AMDGPU::S_MOVRELS_B64 ||
+         Opcode == AMDGPU::S_MOVRELD_B32 || AMDGPU::S_MOVRELD_B64;
 }
 
 static bool isVInterp(unsigned Opcode) {




More information about the llvm-commits mailing list