<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">On Jul 10, 2013, at 6:39 PM, Hal Finkel <<a href="mailto:hfinkel@anl.gov">hfinkel@anl.gov</a>> wrote:<br><div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;">----- Original Message -----<br><blockquote type="cite">Also is it expected that llc is doing a segmentation fault?<br><br><br>See nonconst-static-ev.ll.tmp<br><br>In my previous post.<br></blockquote><br>Ah, I missed that. No, although that looks like what is happening on Hexagon as well. What is the triple/arch I need to reproduce that?<br></div></blockquote><div style="margin: 0px; font-size: 11px; font-family: Menlo;">-mtriple=x86_64-apple-darwin</div><blockquote type="cite"><div style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br>If you add -mtriple=x86_64-linux-gnu to the llc command line does the test pass for you?<br></div></blockquote>Yes. it does.<br><blockquote type="cite"><div style="font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: auto; text-align: start; text-indent: 0px; text-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"><br>Thanks again,<br>Hal<br><br><blockquote type="cite"><br><br>Put here again:<br><br>0 llc 0x0000000109e566ce llvm::sys::PrintStackTrace(__sFILE*) + 46<br>1 llc 0x0000000109e569db PrintStackTraceSignalHandler(void*) + 27<br>2 llc 0x0000000109e56d58 SignalHandler(int) + 408<br>3 libsystem_platform.dylib 0x00007fff86e5f5ca _sigtramp + 26<br>4 libsystem_platform.dylib 0x00007fff5718ae40 _sigtramp + 3492984976<br>5 llc 0x0000000108cfb925 llvm::GlobalValue::getType() const + 21<br>6 llc 0x0000000109dc40b0 llvm::TypeFinder::run(llvm::Module const&,<br>bool) + 128<br>7 llc 0x0000000109c094fc<br>llvm::TypePrinting::incorporateTypes(llvm::Module const&) + 76<br>8 llc 0x0000000109c0b471 llvm::WriteAsOperand(llvm::raw_ostream&,<br>llvm::Value const*, bool, llvm::Module const*) + 225<br>9 llc 0x00000001094f9218 lowerConstant(llvm::Constant const*,<br>llvm::AsmPrinter&) + 1032<br>10 llc 0x00000001094f6cc1 emitGlobalConstantImpl(llvm::Constant<br>const*, llvm::AsmPrinter&) + 977<br>11 llc 0x00000001094f058d<br>llvm::AsmPrinter::EmitGlobalConstant(llvm::Constant const*) + 93<br>12 llc 0x00000001094efd88<br>llvm::AsmPrinter::EmitGlobalVariable(llvm::GlobalVariable const*) +<br>2584<br>13 llc 0x00000001094f3dde<br>llvm::AsmPrinter::doFinalization(llvm::Module&) + 174<br>14 llc 0x0000000109d9a69c<br>llvm::FPPassManager::doFinalization(llvm::Module&) + 92<br>15 llc 0x0000000109d9ae50<br>llvm::MPPassManager::runOnModule(llvm::Module&) + 1904<br>16 llc 0x0000000109d9b6ee llvm::PassManagerImpl::run(llvm::Module&) +<br>302<br>17 llc 0x0000000109d9b981 llvm::PassManager::run(llvm::Module&) + 33<br>18 llc 0x0000000108a75c40 compileModule(char**, llvm::LLVMContext&) +<br>6320<br>19 llc 0x0000000108a74322 main + 226<br>20 libdyld.dylib 0x00007fff8857e60d start + 1<br>Stack dump:<br><br><br><br><br>-Quentin<br><br><br>On Jul 10, 2013, at 6:19 PM, Quentin Colombet < <a href="mailto:qcolombet@apple.com">qcolombet@apple.com</a> ><br>wrote:<br><br><br><br><br><br>On Jul 10, 2013, at 6:11 PM, Hal Finkel < <a href="mailto:hfinkel@anl.gov">hfinkel@anl.gov</a> > wrote:<br><br><br><br>----- Original Message -----<br><br><br><br>The complete output may be useful too!<br><br><br>Apparently the path to ‘not' is not expanded.<br><br>Can you see if you can figure out why? I believe that the relevant<br>code below this in test/lit.cfg :<br>I will try to gather more information.<br><br><br><br><br># Handle these specially as they are strings searched<br># for during testing.<br>r"\| \bcount\b", r"\| \bnot\b"]:<br><br>Also, FWIW, it seems to work on the buildbots, right? Not on some<br>internal buildbot.<br>which is strange.<br><br><br><br><br><br><br>-Hal<br><br><br><br><br><br><br><br>-Quentin<br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br><br>On Jul 10, 2013, at 5:37 PM, Quentin Colombet < <a href="mailto:qcolombet@apple.com">qcolombet@apple.com</a> ><br>wrote:<br><br><br><br>Hi Hal,<br><br><br>This is failing for me on OSX:<br><br>-bash: not: command not found<br><br><br><br>-Quentin<br><br><br>On Jul 10, 2013, at 4:25 PM, Hal Finkel < <a href="mailto:hfinkel@anl.gov">hfinkel@anl.gov</a> > wrote:<br><br><br><br>Author: hfinkel<br>Date: Wed Jul 10 18:25:03 2013<br>New Revision: 186046<br><br>URL: <a href="http://llvm.org/viewvc/llvm-project?rev=186046&view=rev">http://llvm.org/viewvc/llvm-project?rev=186046&view=rev</a><br>Log:<br>Set REQUIRES shell on the test cases for r186044<br><br>Trying to fix the i686-mingw32 build.<br><br>Modified:<br>llvm/trunk/test/Other/nonconst-static-ev.ll<br>llvm/trunk/test/Other/nonconst-static-iv.ll<br><br>Modified: llvm/trunk/test/Other/nonconst-static-ev.ll<br>URL:<br><a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Other/nonconst-static-ev.ll?rev=186046&r1=186045&r2=186046&view=diff">http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Other/nonconst-static-ev.ll?rev=186046&r1=186045&r2=186046&view=diff</a><br>==============================================================================<br>--- llvm/trunk/test/Other/nonconst-static-ev.ll (original)<br>+++ llvm/trunk/test/Other/nonconst-static-ev.ll Wed Jul 10 18:25:03<br>2013<br>@@ -1,6 +1,7 @@<br>; RUN: not llc < %s 2> %t<br>; RUN: FileCheck --check-prefix=CHECK-ERRORS < %t %s<br>; XFAIL: hexagon<br>+; REQUIRES: shell<br><br>@0 = global i8 extractvalue ([1 x i8] select (i1 ptrtoint (i32* @1 to<br>i1), [1 x i8] [ i8 1 ], [1 x i8] [ i8 2 ]), 0)<br>@1 = external global i32<br><br>Modified: llvm/trunk/test/Other/nonconst-static-iv.ll<br>URL:<br>http://llvm.org/viewvc/llvm-project/llvm/trunk/test/Other/nonconst-static-iv.ll?rev=186046&r1=186045&r2=186046&view=diff<br>==============================================================================<br>--- llvm/trunk/test/Other/nonconst-static-iv.ll (original)<br>+++ llvm/trunk/test/Other/nonconst-static-iv.ll Wed Jul 10 18:25:03<br>2013<br>@@ -1,6 +1,7 @@<br>; RUN: not llc < %s 2> %t<br>; RUN: FileCheck --check-prefix=CHECK-ERRORS < %t %s<br>; XFAIL: hexagon<br>+; REQUIRES: shell<br><br>@0 = global i8 insertvalue( { i8 } select (i1 ptrtoint (i32* @1 to<br>i1), { i8 } { i8 1 }, { i8 } { i8 2 }), i8 0, 0)<br>@1 = external global i32<br><br><br>_______________________________________________<br>llvm-commits mailing list<br>llvm-commits@cs.uiuc.edu<br>http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits<br>_______________________________________________<br>llvm-commits mailing list<br>llvm-commits@cs.uiuc.edu<br>http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits<br><br><br>--<br>Hal Finkel<br>Assistant Computational Scientist<br>Leadership Computing Facility<br>Argonne National Laboratory<br>_______________________________________________<br>llvm-commits mailing list<br>llvm-commits@cs.uiuc.edu<br>http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits<br><br></blockquote><br>--<span class="Apple-converted-space"> </span><br>Hal Finkel<br>Assistant Computational Scientist<br>Leadership Computing Facility<br>Argonne National Laboratory</div></blockquote></div><br></body></html>