https://reviews.llvm.org/D39079 breaks noplt.c for non-x86 targets. Remove x86 specific code from noplt.c
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
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.
Comment Actions
Please search for declare {{.*}}i32 @foo, and then commit. Otherwise this could match call i32 @foo or something like that.