I am encountering a crash when combining the generic-x1 target at the -O0 
flag.  For example:

foo.ispc:

void foo()
{
}

ispc foo.ispc --target=generic-x1 --emit-c++ -o foo.cc

works fine.  But...

ispc foo.ispc --target=generic-x1 --emit-c++ -o foo.cc -O0

gives:

llvmutil.cpp:1560: Assertion failed: "llvm::isa<llvm::Instruction>(v) == 
true".
***
*** Please file a bug report at https://github.com/ispc/ispc/issues
*** (Including as much information as you can about how to reproduce this 
error).
*** You have apparently encountered a bug in the compiler that we'd like to 
fix!
***
main.cpp(235): FATAL ERROR: Unhandled signal sent to process; terminating.
Abort (core dumped)

Any ideas?

-Brian

-- 
You received this message because you are subscribed to the Google Groups 
"Intel SPMD Program Compiler Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to