Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 367232 Details for
Bug 497298
sys-devel/llvm-3.4 miscompiles code with varargs
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
r197520
r197520-x86-X86ISelLowering.patch (text/plain), 801 bytes, created by
Holger Hoffstätte
on 2014-01-06 22:48:20 UTC
(
hide
)
Description:
r197520
Filename:
MIME Type:
Creator:
Holger Hoffstätte
Created:
2014-01-06 22:48:20 UTC
Size:
801 bytes
patch
obsolete
>--- llvm/trunk/lib/Target/X86/X86ISelLowering.cpp 2013/12/17 19:48:03 197519 >+++ llvm/trunk/lib/Target/X86/X86ISelLowering.cpp 2013/12/17 20:28:21 197520 >@@ -15338,6 +15338,12 @@ > MBB->addSuccessor(EndMBB); > } > >+ // Make sure the last operand is EFLAGS, which gets clobbered by the branch >+ // that was just emitted, but clearly shouldn't be "saved". >+ assert((MI->getNumOperands() <= 3 || >+ !MI->getOperand(MI->getNumOperands() - 1).isReg() || >+ MI->getOperand(MI->getNumOperands() - 1).getReg() == X86::EFLAGS) >+ && "Expected last argument to be EFLAGS"); > unsigned MOVOpc = Subtarget->hasFp256() ? X86::VMOVAPSmr : X86::MOVAPSmr; > // In the XMM save block, save all the XMM argument registers. > for (int i = 3, e = MI->getNumOperands() - 1; i != e; ++i) {
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 497298
:
367222
|
367224
|
367226
|
367228
|
367230
| 367232