[llvm-bugs] [Bug 43294] New: missed opt: coalesce multiple consecutive ud2 instructions
via llvm-bugs
llvm-bugs at lists.llvm.org
Thu Sep 12 06:09:23 PDT 2019
https://bugs.llvm.org/show_bug.cgi?id=43294
Bug ID: 43294
Summary: missed opt: coalesce multiple consecutive ud2
instructions
Product: libraries
Version: trunk
Hardware: PC
OS: All
Status: NEW
Severity: enhancement
Priority: P
Component: Backend: X86
Assignee: unassignedbugs at nondot.org
Reporter: gonzalobg88 at gmail.com
CC: craig.topper at gmail.com, llvm-bugs at lists.llvm.org,
llvm-dev at redking.me.uk, spatel+llvm at rotateright.com
When generating LLVM-IR, one often ends up with
call @llvm.trap()
unreachable
If the frontend has set the TargetMachine option to "trap on unreachable", the
call to trap will emit an ud2, while the unreachable would emit another ud2,
often end up with multiple consecutive ud2 instructions.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-bugs/attachments/20190912/ec3e9815/attachment-0001.html>
More information about the llvm-bugs
mailing list