[llvm] r361599 - [X86] Add test case that was supposed to go with r360102.

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Thu May 23 21:46:56 PDT 2019


Author: ctopper
Date: Thu May 23 21:46:56 2019
New Revision: 361599

URL: http://llvm.org/viewvc/llvm-project?rev=361599&view=rev
Log:
[X86] Add test case that was supposed to go with r360102.

Found in my working area. Guess I forgot 'git add' before committing.

Added:
    llvm/trunk/test/CodeGen/X86/asm-reg-type-mismatch-avx512.ll

Added: llvm/trunk/test/CodeGen/X86/asm-reg-type-mismatch-avx512.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/asm-reg-type-mismatch-avx512.ll?rev=361599&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/X86/asm-reg-type-mismatch-avx512.ll (added)
+++ llvm/trunk/test/CodeGen/X86/asm-reg-type-mismatch-avx512.ll Thu May 23 21:46:56 2019
@@ -0,0 +1,15 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc < %s -mtriple=x86_64-unknown-linux-gnu -mattr=avx512f | FileCheck %s
+
+define i64 @test1() nounwind {
+; CHECK-LABEL: test1:
+; CHECK:       # %bb.0: # %entry
+; CHECK-NEXT:    #APP
+; CHECK-NEXT:    vmovq {{.*#+}} xmm16 = mem[0],zero
+; CHECK-NEXT:    #NO_APP
+; CHECK-NEXT:    vmovq %xmm16, %rax
+; CHECK-NEXT:    retq
+entry:
+  %0 = tail call i64 asm sideeffect "vmovq $1, $0", "={xmm16},*m,~{dirflag},~{fpsr},~{flags}"(i64* null) nounwind
+  ret i64 %0
+}




More information about the llvm-commits mailing list