[llvm] r315649 - [X86] Add the test case for r315613 that I forgot to 'git add'.

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 12 17:20:47 PDT 2017


Author: ctopper
Date: Thu Oct 12 17:20:47 2017
New Revision: 315649

URL: http://llvm.org/viewvc/llvm-project?rev=315649&view=rev
Log:
[X86] Add the test case for r315613 that I forgot to 'git add'.

Added:
    llvm/trunk/test/CodeGen/X86/clwb.ll

Added: llvm/trunk/test/CodeGen/X86/clwb.ll
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/CodeGen/X86/clwb.ll?rev=315649&view=auto
==============================================================================
--- llvm/trunk/test/CodeGen/X86/clwb.ll (added)
+++ llvm/trunk/test/CodeGen/X86/clwb.ll Thu Oct 12 17:20:47 2017
@@ -0,0 +1,13 @@
+; NOTE: Assertions have been autogenerated by utils/update_llc_test_checks.py
+; RUN: llc < %s -mtriple=i686-apple-darwin -mattr=clwb | FileCheck %s
+
+define void @clwb(i8* %p) nounwind {
+; CHECK-LABEL: clwb:
+; CHECK:       ## BB#0:
+; CHECK-NEXT:    movl {{[0-9]+}}(%esp), %eax
+; CHECK-NEXT:    clwb (%eax)
+; CHECK-NEXT:    retl
+  tail call void @llvm.x86.clwb(i8* %p)
+  ret void
+}
+declare void @llvm.x86.clwb(i8*) nounwind




More information about the llvm-commits mailing list