[LLVMdev] Test failures with 3.4.1

Sylvestre Ledru
Thu, 10 Apr 2014 15:42:12 -0000

On 10/04/2014 16:32, Tom Stellard wrote:
> On Wed, Apr 09, 2014 at 06:47:19PM +0200, Sylvestre Ledru wrote:
>> Hello,
>>
>> Trying the 3.4.1 branch, I get following tests failing:
>>     LLVM :: CodeGen/X86/2009-06-05-VZextByteShort.ll
>>     LLVM :: CodeGen/X86/fma4-intrinsics-x86_64.ll
>>     LLVM :: CodeGen/X86/fp-fast.ll
>>     LLVM :: CodeGen/X86/vec_shift4.ll
>>     LLVM :: CodeGen/X86/vshift-4.ll
>>
>> I am testing on a Debian testing 64b.
>> Does it ring a bell?
>>
> Can anyone else reproduce this?  These tests pass for me on 64-bit
> Fedora.  Sylvestre, are you able to post the output from these failing
> tests?
Sure. Sorry for not doing that sooner.

I don't think they are related to any of the patches I apply in the
packages:

FAIL: LLVM :: CodeGen/X86/2009-06-05-VZextByteShort.ll (3502 of 9333)
******************** TEST 'LLVM ::
CodeGen/X86/2009-06-05-VZextByteShort.ll' FAILED ********************
Script:
--
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/build-llvm/Release/bin/llc
<
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/test/CodeGen/X86/2009-06-05-VZextByteShort.ll
-march=x86 -mattr=+mmx,+sse2 >
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/build-llvm/test/CodeGen/X86/Output/2009-06-05-VZextByteShort.ll.tmp1
grep movzwl
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/build-llvm/test/CodeGen/X86/Output/2009-06-05-VZextByteShort.ll.tmp1
|
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/build-llvm/Release/bin/count
2
grep movzbl
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/build-llvm/test/CodeGen/X86/Output/2009-06-05-VZextByteShort.ll.tmp1
|
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/build-llvm/Release/bin/count
1
grep movd
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/build-llvm/test/CodeGen/X86/Output/2009-06-05-VZextByteShort.ll.tmp1
|
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/build-llvm/Release/bin/count
4
--
Exit Code: 1

Command Output (stderr):
--
Expected 2 lines, got 0.

--

********************
FAIL: LLVM :: CodeGen/X86/fma4-intrinsics-x86_64.ll (4073 of 9333)
******************** TEST 'LLVM ::
CodeGen/X86/fma4-intrinsics-x86_64.ll' FAILED ********************
Script:
--
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/build-llvm/Release/bin/llc
<
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/test/CodeGen/X86/fma4-intrinsics-x86_64.ll
-mtriple=x86_64-unknown-unknown -march=x86-64 -mattr=+avx,+fma4 |
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/build-llvm/Release/bin/FileCheck
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/test/CodeGen/X86/fma4-intrinsics-x86_64.ll
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/build-llvm/Release/bin/llc
<
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/test/CodeGen/X86/fma4-intrinsics-x86_64.ll
-mtriple=x86_64-unknown-unknown -mcpu=bdver2 -mattr=+avx,-fma |
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/build-llvm/Release/bin/FileCheck
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/test/CodeGen/X86/fma4-intrinsics-x86_64.ll
--
Exit Code: 1

Command Output (stderr):
--
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/test/CodeGen/X86/fma4-intrinsics-x86_64.ll:6:11:
error: expected string not found in input
 ; CHECK: vfmaddss
          ^
<stdin>:1:2: note: scanning from here
 .file "<stdin>"
 ^
<stdin>:3:22: note: possible intended match here
 .globl test_x86_fma_vfmadd_ss
                     ^

--

********************
FAIL: LLVM :: CodeGen/X86/fp-fast.ll (4097 of 9333)
******************** TEST 'LLVM :: CodeGen/X86/fp-fast.ll' FAILED
********************
Script:
--
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/build-llvm/Release/bin/llc
-march=x86-64 -mattr=+avx,-fma4 -mtriple=x86_64-apple-darwin
-enable-unsafe-fp-math <
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/test/CodeGen/X86/fp-fast.ll
|
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/build-llvm/Release/bin/FileCheck
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/test/CodeGen/X86/fp-fast.ll
--
Exit Code: 1

Command Output (stderr):
--
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/test/CodeGen/X86/fp-fast.ll:65:10:
error: expected string not found in input
; CHECK: xorps
         ^
<stdin>:78:2: note: scanning from here
 .align 4, 0x90
 ^
<stdin>:83:3: note: possible intended match here
 vmovss LCPI5_0(%rip), %xmm1
  ^
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/test/CodeGen/X86/fp-fast.ll:77:10:
error: expected string not found in input
; CHECK: xorps
         ^
<stdin>:95:2: note: scanning from here
 .align 4, 0x90
 ^
<stdin>:100:3: note: possible intended match here
 vmovss LCPI6_0(%rip), %xmm1
  ^

--

********************
FAIL: LLVM :: CodeGen/X86/vec_shift4.ll (4781 of 9333)
******************** TEST 'LLVM :: CodeGen/X86/vec_shift4.ll' FAILED
********************
Script:
--
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/build-llvm/Release/bin/llc
<
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/test/CodeGen/X86/vec_shift4.ll
-march=x86 -mattr=+sse4.1 |
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/build-llvm/Release/bin/FileCheck
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/test/CodeGen/X86/vec_shift4.ll
--
Exit Code: 1

Command Output (stderr):
--
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/test/CodeGen/X86/vec_shift4.ll:6:10:
error: expected string not found in input
; CHECK: pslld
         ^
<stdin>:1:2: note: scanning from here
 .file "<stdin>"
 ^
<stdin>:8:3: note: possible intended match here
 vpsllvd %xmm1, %xmm0, %xmm0
  ^

--

********************
FAIL: LLVM :: CodeGen/X86/vshift-4.ll (4843 of 9333)
******************** TEST 'LLVM :: CodeGen/X86/vshift-4.ll' FAILED
********************
Script:
--
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/build-llvm/Release/bin/llc
<
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/test/CodeGen/X86/vshift-4.ll
-march=x86 -mattr=+sse2 |
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/build-llvm/Release/bin/FileCheck
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/test/CodeGen/X86/vshift-4.ll
--
Exit Code: 1

Command Output (stderr):
--
/home/sylvestre/dev/debian/pkg-llvm/llvm-toolchain/branches/llvm-toolchain-3.4-3.4+205824/test/CodeGen/X86/vshift-4.ll:20:10:
error: expected string not found in input
; CHECK: shll
         ^
<stdin>:21:10: note: scanning from here
shift1b: # @shift1b
         ^
<stdin>:21:13: note: possible intended match here
shift1b: # @shift1b