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: unassignedb...@nondot.org
Reporter: gonzalob...@gmail.com
CC: craig.top...@gmail.com, llvm-bugs@lists.llvm.org,
llvm-...@redking.me.uk, spatel+l...@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.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs