[PATCH] Fix PR21807 - Minor code difference building with/without -g
Russell_Gallop at sn.scee.net
Russell_Gallop at sn.scee.net
Thu Dec 11 10:19:55 PST 2014
Hi,
This patch fixes the issue reported as PR21807. There is a minor
difference in the generated code depending on the -g flag. This is a
non-functional difference.
The cause seems to be that with -g the machine scheduler uses a different
scheduling strategy. This decision is based on the number of instructions
in a schedule region and includes debug instructions in that count.
This patch fixes the issue in MISched and provides a test.
Regards
Russ
Russell Gallop
SN Systems - Sony Computer Entertainment Group
http://www.snsys.com
**********************************************************************
This email and any files transmitted with it are confidential and intended
solely for the use of the individual or entity to whom they are addressed.
If you have received this email in error please notify postmaster at scee.net
This footnote also confirms that this email message has been checked for
all known viruses.
Sony Computer Entertainment Europe Limited
Registered Office: 10 Great Marlborough Street, London W1F 7LP, United
Kingdom
Registered in England: 3277793
**********************************************************************
P Please consider the environment before printing this e-mail
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141211/70030274/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 21807.patch
Type: application/octet-stream
Size: 5945 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141211/70030274/attachment.obj>
More information about the llvm-commits
mailing list