<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body><div>Ah. Thanks for letting me know. I'll fix it today. </div><div><br></div><div>I ran the nightly tests, including bullet, locally but I guess maybe the buildbot having a different configuration from my machine has exposed a bug.</div><div><br></div><div>Thanks</div><div>Pete<br><br>Sent from my iPhone</div><div><br>On Jun 15, 2012, at 1:33 PM, Jakob Stoklund Olesen <<a href="mailto:stoklund@2pi.dk">stoklund@2pi.dk</a>> wrote:<br><br></div><blockquote type="cite"><div><span></span><br><span>On Jun 15, 2012, at 11:07 AM, Pete Cooper <<a href="mailto:peter_cooper@apple.com">peter_cooper@apple.com</a>> wrote:</span><br><span></span><br><blockquote type="cite"><span>Author: pete</span><br></blockquote><blockquote type="cite"><span>Date: Fri Jun 15 13:07:29 2012</span><br></blockquote><blockquote type="cite"><span>New Revision: 158529</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>URL: <a href="http://llvm.org/viewvc/llvm-project?rev=158529&view=rev">http://llvm.org/viewvc/llvm-project?rev=158529&view=rev</a></span><br></blockquote><blockquote type="cite"><span>Log:</span><br></blockquote><blockquote type="cite"><span>Allow SROA to split up an array of vectors into multiple vectors, even when the vectors are dynamically indexed</span><br></blockquote><span></span><br><span>This is crashing in MultiSource/Benchmarks/Bullet:</span><br><span></span><br><span>lnt flags: --only-test MultiSource/Benchmarks/Bullet --arch i386 --cflag -g --optimize-option -Os</span><br><span></span><br><span>Assertion failed: (Ty && "Invalid GetElementPtrInst indices for type!"), function checkGEPType, file /Volumes/Data/g/llvm/include/llvm/Instructions.h, line 705.</span><br><span>0 clang 0x000000010e3ccdf2 PrintStackTrace(void*) + 34</span><br><span>1 clang 0x000000010e3cd304 SignalHandler(int) + 692</span><br><span>2 libsystem_c.dylib 0x00007fff99fe964a _sigtramp + 26</span><br><span>3 libsystem_c.dylib 0x00007fff9a071773 __swrite + 0</span><br><span>4 clang 0x000000010e3cd036 abort + 22</span><br><span>5 clang 0x000000010e3cd011 __assert_rtn + 81</span><br><span>6 clang 0x000000010e1448e7 llvm::GetElementPtrInst::GetElementPtrInst(llvm::Value*, llvm::ArrayRef<llvm::Value*>, unsigned int, llvm::Twine const&, llvm::Instruction*) + 231</span><br><span>7 clang 0x000000010e0ab96b (anonymous namespace)::SROA::RewriteForScalarRepl(llvm::Instruction*, llvm::AllocaInst*, unsigned long long, llvm::SmallVector<llvm::AllocaInst*, 32u>&) + 1275</span><br><span>8 clang 0x000000010e0a83d5 (anonymous namespace)::SROA::runOnFunction(llvm::Function&) + 5013</span><br><span>9 clang 0x000000010e371b40 llvm::FPPassManager::runOnFunction(llvm::Function&) + 432</span><br><span>10 clang 0x000000010e16a48a (anonymous namespace)::CGPassManager::runOnModule(llvm::Module&) + 1754</span><br><span>11 clang 0x000000010e372036 llvm::MPPassManager::runOnModule(llvm::Module&) + 406</span><br><span>12 clang 0x000000010e3725f9 llvm::PassManagerImpl::run(llvm::Module&) + 409</span><br><span>13 clang 0x000000010e3727dd llvm::PassManager::run(llvm::Module&) + 13</span><br><span>14 clang 0x000000010cfd8b2a clang::EmitBackendOutput(clang::DiagnosticsEngine&, clang::CodeGenOptions const&, clang::TargetOptions const&, clang::LangOptions const&, llvm::Module*, clang::BackendAction, llvm::raw_ostream*) + 4842</span><br><span>15 clang 0x000000010d0bd3ca clang::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 586</span><br><span>16 clang 0x000000010d0f27b4 clang::ParseAST(clang::Sema&, bool, bool) + 772</span><br><span>17 clang 0x000000010d0bc101 clang::CodeGenAction::ExecuteAction() + 465</span><br><span>18 clang 0x000000010ced01e8 clang::FrontendAction::Execute() + 104</span><br><span>19 clang 0x000000010cea7b8f clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 991</span><br><span>20 clang 0x000000010ce8f4f1 clang::ExecuteCompilerInvocation(clang::CompilerInstance*) + 3265</span><br><span>21 clang 0x000000010ce850da cc1_main(char const**, char const**, char const*, void*) + 730</span><br><span>22 clang 0x000000010ce8bf6c main + 3356</span><br><span>23 libdyld.dylib 0x00007fff8e52c7e1 start + 0</span><br><span>24 libdyld.dylib 0x0000000000000041 start + 18446603338128373856</span><br><span>Stack dump:</span><br><span>0. Program arguments: /Volumes/Data/b/Release+Asserts/bin/clang -cc1 -triple i386-apple-macosx10.8.0 -emit-obj -disable-free -main-file-name btDbvt.cpp -pic-level 2 -mdisable-fp-elim -masm-verbose -target-cpu yonah -target-linker-version 132.10.1 -g -coverage-file Output/btDbvt.llvm.o -resource-dir /Volumes/Data/b/Release+Asserts/bin/../lib/clang/3.2 -D NO_TIME -D _GNU_SOURCE -D __STDC_LIMIT_MACROS -D NDEBUG -I /Volumes/Data/g/test-suite/MultiSource/Benchmarks/Bullet/include -I /Volumes/Data/b/sandbox/test-2012-06-15_20-28-18/MultiSource/Benchmarks/Bullet -I /Volumes/Data/g/test-suite/MultiSource/Benchmarks/Bullet -I /Volumes/Data/g/test-suite/include -I ../../..//include -fmodule-cache-path /var/folders/x9/rq71f341457f78v8q_jld6q40000gn/T/clang-module-cache -Os -fdeprecated-macro -fdebug-compilation-dir /Volumes/Data/b/sandbox/test-2012-06-15_20-28-18/MultiSource/Benchmarks/Bullet -ferror-limit 19 -fmessage-length 0 -stack-protector 1 -mstackrealign -fblocks -fobjc-runtime-has-arc -fobjc-runtime-has-weak -fobjc-fragile-abi -fobjc-default-synthesize-properties -fcxx-exceptions -fexceptions -fdiagnostics-show-option -o Output/btDbvt.llvm.o -x c++ /Volumes/Data/g/test-suite/MultiSource/Benchmarks/Bullet/btDbvt.cpp </span><br><span>1. <eof> parser at end of file</span><br><span>2. Per-module optimization passes</span><br><span>3. Running pass 'CallGraph Pass Manager' on module '/Volumes/Data/g/test-suite/MultiSource/Benchmarks/Bullet/btDbvt.cpp'.</span><br><span>4. Running pass 'Scalar Replacement of Aggregates (SSAUp)' on function '@_ZL5mergeRK12btDbvtAabbMmS1_'</span><br><span>clang: error: unable to execute command: Illegal instruction: 4</span><br><span>clang: error: clang frontend command failed due to signal (use -v to see invocation)</span><br><span>clang: note: diagnostic msg: Please submit a bug report to <a href="http://llvm.org/bugs/">http://llvm.org/bugs/</a> and include command line arguments and all diagnostic information.</span><br><span></span><br></div></blockquote></body></html>