r291208 - CodeGen: address post commit review comments for r291123
Saleem Abdulrasool via cfe-commits
cfe-commits at lists.llvm.org
Thu Jan 5 18:27:41 PST 2017
Author: compnerd
Date: Thu Jan 5 20:27:40 2017
New Revision: 291208
URL: http://llvm.org/viewvc/llvm-project?rev=291208&view=rev
Log:
CodeGen: address post commit review comments for r291123
This test would force the execution of the backend. However, the
backend already has a test for this. Effectively, this was trying to
test that an API call was made properly. We do not have a good way to
really test this. The test itself tested very little.
Addresses post-commit review comments from Eric Christopher.
Removed:
cfe/trunk/test/CodeGen/include/function.x
cfe/trunk/test/CodeGen/include/module.x
cfe/trunk/test/CodeGen/inline-asm-inclusion.c
Removed: cfe/trunk/test/CodeGen/include/function.x
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/include/function.x?rev=291207&view=auto
==============================================================================
--- cfe/trunk/test/CodeGen/include/function.x (original)
+++ cfe/trunk/test/CodeGen/include/function.x (removed)
@@ -1 +0,0 @@
-FUNCTION = 1
Removed: cfe/trunk/test/CodeGen/include/module.x
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/include/module.x?rev=291207&view=auto
==============================================================================
--- cfe/trunk/test/CodeGen/include/module.x (original)
+++ cfe/trunk/test/CodeGen/include/module.x (removed)
@@ -1 +0,0 @@
-MODULE = 1
Removed: cfe/trunk/test/CodeGen/inline-asm-inclusion.c
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGen/inline-asm-inclusion.c?rev=291207&view=auto
==============================================================================
--- cfe/trunk/test/CodeGen/inline-asm-inclusion.c (original)
+++ cfe/trunk/test/CodeGen/inline-asm-inclusion.c (removed)
@@ -1,11 +0,0 @@
-// RUN: %clang_cc1 -triple i686--- -I %p/include -S -o - %s | FileCheck %s
-// REQUIRES: x86-registered-target
-
-__asm__(".include \"module.x\"");
-void function(void) {
- __asm__(".include \"function.x\"");
-}
-
-// CHECK: MODULE = 1
-// CHECK: FUNCTION = 1
-
More information about the cfe-commits
mailing list