From: Chris Lattner Date: Sat, 9 Apr 2011 06:34:38 +0000 (+0000) Subject: fix two completely broken tests, which were matching due to PR9629. X-Git-Url: http://plrg.eecs.uci.edu/git/?a=commitdiff_plain;h=b99e000d79d30eaccfef00e3efd7ffe9a0956da7;p=oota-llvm.git fix two completely broken tests, which were matching due to PR9629. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129195 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/test/CodeGen/Thumb2/ldr-str-imm12.ll b/test/CodeGen/Thumb2/ldr-str-imm12.ll index 08265b8fb2b..e1932bd2748 100644 --- a/test/CodeGen/Thumb2/ldr-str-imm12.ll +++ b/test/CodeGen/Thumb2/ldr-str-imm12.ll @@ -22,7 +22,7 @@ define %union.rec* @Manifest(%union.rec* %x, %union.rec* %env, %struct.STYLE* %style, %union.rec** %bthr, %union.rec** %fthr, %union.rec** %target, %union.rec** %crs, i32 %ok, i32 %need_expand, %union.rec** %enclose, i32 %fcr) nounwind { entry: -; CHECK: ldr.w {{(r[0-9])|(lr)}}, [r7, #28] +; CHECK: ldr.w {{(r[0-9]+)|(lr)}}, [r7, #28] %xgaps.i = alloca [32 x %union.rec*], align 4 ; <[32 x %union.rec*]*> [#uses=0] %ycomp.i = alloca [32 x %union.rec*], align 4 ; <[32 x %union.rec*]*> [#uses=0] br label %bb20 diff --git a/test/CodeGen/Thumb2/machine-licm.ll b/test/CodeGen/Thumb2/machine-licm.ll index 5e776dd8937..f71e8c09080 100644 --- a/test/CodeGen/Thumb2/machine-licm.ll +++ b/test/CodeGen/Thumb2/machine-licm.ll @@ -88,10 +88,10 @@ define zeroext i16 @t3(i8 zeroext %data, i16 zeroext %crc) nounwind readnone { bb.nph: ; CHECK: bb.nph ; CHECK: movw {{(r[0-9])|(lr)}}, #32768 -; CHECK: movs {{(r[0-9])|(lr)}}, #8 +; CHECK: movs {{(r[0-9]+)|(lr)}}, #0 ; CHECK: movw [[REGISTER:(r[0-9])|(lr)]], #16386 -; CHECK: movw {{(r[0-9])|(lr)}}, #65534 -; CHECK: movt {{(r[0-9])|(lr)}}, #65535 +; CHECK: movw {{(r[0-9]+)|(lr)}}, #65534 +; CHECK: movt {{(r[0-9]+)|(lr)}}, #65535 br label %bb bb: ; preds = %bb, %bb.nph