[llvm] r216944 - R600/SI: Fix hardcoded register numbers in test

Matt Arsenault Matthew.Arsenault at amd.com
Tue Sep 2 13:43:07 PDT 2014


Author: arsenm
Date: Tue Sep  2 15:43:07 2014
New Revision: 216944

URL: http://llvm.org/viewvc/llvm-project?rev=216944&view=rev
Log:
R600/SI: Fix hardcoded register numbers in test

Modified:
    llvm/trunk/test/CodeGen/R600/or.ll

Modified: llvm/trunk/test/CodeGen/R600/or.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/R600/or.ll?rev=216944&r1=216943&r2=216944&view=diff
==============================================================================
--- llvm/trunk/test/CodeGen/R600/or.ll (original)
+++ llvm/trunk/test/CodeGen/R600/or.ll Tue Sep  2 15:43:07 2014
@@ -57,7 +57,7 @@ define void @vector_or_i32(i32 addrspace
 }
 
 ; SI-LABEL: @scalar_or_literal_i32
-; SI: S_OR_B32 s0, s0, 0x1869f
+; SI: S_OR_B32 s{{[0-9]+}}, s{{[0-9]+}}, 0x1869f
 define void @scalar_or_literal_i32(i32 addrspace(1)* %out, i32 %a) {
   %or = or i32 %a, 99999
   store i32 %or, i32 addrspace(1)* %out, align 4





More information about the llvm-commits mailing list