<div style="line-height:1.7;color:#000000;font-size:14px;font-family:Arial"><div>Hi all,</div><div>I get an error when I use opt with -early-cse-memssa option.</div><div>I randomly generate some pass sequences and I find the sequences "-early-cse-memssa -lcssa-verification -early-cse-memssa", </div><div>"-early-cse-memssa -verify -early-cse-memssa", "-early-cse-memssa -demanded-bits -early-cse-memssa" and "-early-cse-memssa -early-cse-memssa" </div><div>will cause the following error for LLVM version 6.0.0.</div><div><br></div><div><div>LLVMSymbolizer: error reading file: No such file or directory</div><div>#0 0x0000000001a68794 (opt+0x1a68794)</div><div>#1 0x0000000001a68a76 (opt+0x1a68a76)</div><div>#2 0x00007f96a098c390 __restore_rt (/lib/x86_64-linux-gnu/libpthread.so.0+0x11390)</div><div>#3 0x00000000015fc64e (opt+0x15fc64e)</div><div>#4 0x000000000160065d (opt+0x160065d)</div><div>#5 0x00000000015fdb08 (opt+0x15fdb08)</div><div>#6 0x000000000075aaa6 (opt+0x75aaa6)</div><div>#7 0x00007f969f924830 __libc_start_main (/lib/x86_64-linux-gnu/libc.so.6+0x20830)</div><div>#8 0x000000000074c1b9 (opt+0x74c1b9)</div><div>Stack dump:</div><div>0.      Program arguments: opt -early-cse-memssa -lcssa-verification -early-cse-memssa matrix.bc -o matrix-opt.bc</div><div>Segmentation fault (core dumped)</div></div><div><br></div><div>I also try the following commond</div><div>    llvm-as < /dev/null | opt -early-cse-memssa -lcssa-verification -early-cse-memssa, (the same to other sequences) </div><div>which also gets the same error. So this error is not sensitive to input.</div><div><br></div><div>Is it a bug for LLVM/opt? Or I make a mistake to use this pass option or opt?</div></div><br><br><span title="neteasefooter"><p> </p></span>