From 575ba996f6dcde1bfcf7e7afd42123fa0b19975c Mon Sep 17 00:00:00 2001 From: Craig Topper Date: Mon, 20 Feb 2017 23:38:48 +0000 Subject: [PATCH] [X86] FileCheckize one of the rotate tests. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@295681 91177308-0d34-0410-b5e6-96231b3b80d8 --- test/CodeGen/X86/rot32.ll | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/test/CodeGen/X86/rot32.ll b/test/CodeGen/X86/rot32.ll index 5738f70fa47..2c56f38f2a2 100644 --- a/test/CodeGen/X86/rot32.ll +++ b/test/CodeGen/X86/rot32.ll @@ -92,8 +92,10 @@ entry: define i32 @xunp(i32* %p) nounwind readnone { entry: +; CHECK-LABEL: xunp: +; CHECK: roll $25 ; BMI2-LABEL: xunp: -; BMI2: rorxl $7, ({{.+}}), %{{.+}} +; BMI2: rorxl $7 %x = load i32, i32* %p %a = lshr i32 %x, 7 %b = shl i32 %x, 25 @@ -104,7 +106,7 @@ entry: define i32 @xbu(i32 %x, i32 %y, i32 %z) nounwind readnone { entry: ; CHECK-LABEL: xbu: -; CHECK: shldl +; CHECK: shldl $25 %0 = lshr i32 %y, 7 %1 = shl i32 %x, 25 %2 = or i32 %0, %1 -- 2.11.0