[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 14:18:43 PST 2017


tmsriram added a comment.

More information here.  This breaks non-x86 builds like PPC because:

/home/buildbots/ppc64be-clang-test/clang-ppc64be/llvm/tools/clang/test/CodeGen/noplt.c:4:22: error: expected string not found in input
// CHECK-NOPLT-NEXT: declare i32 @foo

  ^

<stdin>:14:1: note: scanning from here
declare signext i32 @foo(...) #1

removing i32 from the test solves this problem.


https://reviews.llvm.org/D39759





More information about the cfe-commits mailing list