[PATCH] D14887: Make tbm-builtins.c as X86 specific unit test

Sumanth Gundapaneni via cfe-commits cfe-commits at lists.llvm.org
Fri Nov 20 13:45:18 PST 2015


sgundapa created this revision.
sgundapa added reviewers: echristo, craig.topper.
sgundapa added a subscriber: cfe-commits.

This unit test need not be true on all the targets.

http://reviews.llvm.org/D14887

Files:
  test/CodeGen/tbm-builtins.c

Index: test/CodeGen/tbm-builtins.c
===================================================================
--- test/CodeGen/tbm-builtins.c
+++ test/CodeGen/tbm-builtins.c
@@ -1,4 +1,5 @@
 // RUN: %clang_cc1 %s -O3 -triple=x86_64-unknown-unknown -target-feature +tbm -emit-llvm -o - | FileCheck %s
+// REQUIRES: x86-registered-target
 // FIXME: The code generation checks for add/sub and/or are depending on the optimizer.
 
 // Don't include mm_malloc.h, it's system specific.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14887.40824.patch
Type: text/x-patch
Size: 473 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20151120/5ff14127/attachment.bin>


More information about the cfe-commits mailing list