[LLVMdev] extractelement instruction and undefined behavior
Paweł Bylica
chfast at gmail.com
Fri Jan 16 05:54:49 PST 2015
extractelement instruction semantics specification states that "If idx
exceeds the length of val, the results are undefined." For me it means I
will get undef value. In practice it's a crash - undefined behavior.
Is the specification unclear or my understanding is wrong?
- Paweł
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20150116/d9896449/attachment.html>
More information about the llvm-dev
mailing list