[PATCH] D39759: Remove x86 specific code from noplt.c

Sriraman Tallam via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Nov 7 13:52:38 PST 2017


tmsriram created this revision.

https://reviews.llvm.org/D39079 breaks noplt.c for non-x86 targets.  Remove x86 specific code from noplt.c


https://reviews.llvm.org/D39759

Files:
  test/CodeGen/noplt.c


Index: test/CodeGen/noplt.c
===================================================================
--- test/CodeGen/noplt.c
+++ test/CodeGen/noplt.c
@@ -1,7 +1,7 @@
 // RUN: %clang_cc1 -emit-llvm -fno-plt %s -o - | FileCheck %s -check-prefix=CHECK-NOPLT
 
 // CHECK-NOPLT: Function Attrs: nonlazybind
-// CHECK-NOPLT-NEXT: declare i32 @foo
+// CHECK-NOPLT-NEXT: @foo
 int foo();
 
 int bar() {


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D39759.121977.patch
Type: text/x-patch
Size: 391 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171107/ed55f5b1/attachment.bin>


More information about the cfe-commits mailing list