[llvm] r186046 - Set REQUIRES shell on the test cases for r186044

Quentin Colombet qcolombet at apple.com
Wed Jul 10 18:45:32 PDT 2013


On Jul 10, 2013, at 6:39 PM, Hal Finkel <hfinkel at anl.gov> wrote:

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130710/ce651f29/attachment.html>


More information about the llvm-commits mailing list