<html><head><meta http-equiv="Content-Type" content="text/html; charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;" class=""><br class=""><div><blockquote type="cite" class=""><div class="">On Dec 8, 2017, at 1:49 AM, Atul Sowani via swift-dev <<a href="mailto:swift-dev@swift.org" class="">swift-dev@swift.org</a>> wrote:</div><br class="Apple-interchange-newline"><div class=""><div dir="ltr" class=""><div class="">Hi,</div><div class=""><br class=""></div><div class="">I am getting following failure while running IRGen/objc_simd.sil on ppc64le (Ubuntu 16.04).</div><div class=""><br class=""></div><div class=""># /bin/bash objc_simd.sil.script</div><div class="">/root/swift-source/swift/test/IRGen/objc_simd.sil:60:23: error: expected string not found in input</div><div class="">// powerpc64le-LABEL: define{{( protected)?}} void @simd_native_args(%T4simd6float4V* noalias nocapture sret, %T4simd6float4V* noalias nocapture dereferenceable({{.*}}))<br class=""> ^<br class=""><stdin>:56:63: note: scanning from here<br class="">define protected <3 x float> @simd_c_args_float3(<3 x float>) #0 {</div><div class=""><br class=""></div><div class="">Following two lines from IRGen/objc_simd.sil file seem to be causing this issue:</div><div class="">// powerpc64le-LABEL: define{{( protected)?}} void @simd_native_args(%T4simd6float4V* noalias nocapture sret, %T4simd6float4V* noalias nocapture dereferenceable({{.*}}))<br class=""></div><div class=""><br class=""></div><div class="">// powerpc64le-LABEL: define{{( protected)?}} swiftcc { float, float, float } @simd_native_args_float3(float, float, float)</div><div class=""><br class=""></div><div class="">I am not a swift programmer, I am just trying to port swift to ppc64le. I think these are just comments? I actually don't understand what these lines and the code following these lines. Is there anything glaringly obvious here that is causing this issue? What is the good way of approaching this issue?</div></div></div></blockquote><br class=""></div><div>This is a FileCheck-based test. The test compiles the code and pipes the result through FileCheck. FileCheck verifies that the output contains the text specified in the comments. </div><div><br class=""></div><div><div>The failure here is that one of the expected output lines was not found. FileCheck expected to find the "…void @simd_native_args…" text in the output somewhere on or after the "…simd_c_args_float3…" line. The expected output was not found so the test failed.</div><div class=""><br class=""></div></div><div>You can read more about FileCheck's syntax here:</div><div><a href="https://llvm.org/docs/CommandGuide/FileCheck.html" class="">https://llvm.org/docs/CommandGuide/FileCheck.html</a></div><div><br class=""></div><div>The likely problems are:</div><div>1. the ppc64le compiler is not generating the correct code, or</div><div>2. the compiler is correct but the test's expected output on ppc64le is incorrect.</div><div><br class=""></div><div><br class=""></div><div>-- </div><div>Greg Parker <a href="mailto:gparker@apple.com" class="">gparker@apple.com</a> Runtime Wrangler</div><div><br class=""></div><div class=""><br class=""></div></body></html>