[LLVMbugs] [Bug 23909] New: Inefficient encoding with llc -filetype=obj
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Sun Jun 21 18:36:47 PDT 2015
https://llvm.org/bugs/show_bug.cgi?id=23909
Bug ID: 23909
Summary: Inefficient encoding with llc -filetype=obj
Product: new-bugs
Version: unspecified
Hardware: PC
OS: Linux
Status: NEW
Severity: normal
Priority: P
Component: new bugs
Assignee: unassignedbugs at nondot.org
Reporter: rafael.espindola at gmail.com
CC: llvmbugs at cs.uiuc.edu, rnk at google.com
Classification: Unclassified
----------------------------------------------
target triple = "x86_64-pc-windows-msvc18.0.0"
define void @f(i32 %x) personality i8* bitcast (i32 (...)* @__CxxFrameHandler3
to i8*) {
invoke void @h()
to label %invoke.cont unwind label %lpad
invoke.cont:
ret void
lpad:
landingpad { i8*, i32 }
cleanup
call void @g(i32 %x)
ret void
}
declare void @h()
declare i32 @__CxxFrameHandler3(...)
declare void @g(i32 %x)
-------------------------------------------
Going directly to a .o produces
f.cleanup:
....
29: 8b 8a 34 00 00 00 movl 52(%rdx),
%ec
Going via assembly produces
f.cleanup:
....
29: 8b 4a 34 movl 52(%rdx),
%ecx
--
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/20150622/acfe4686/attachment.html>
More information about the llvm-bugs
mailing list