Nadav Rotem 5d1f5c1737 Revert revision 171524. Original message:
URL: http://llvm.org/viewvc/llvm-project?rev=171524&view=rev
Log:
The current Intel Atom microarchitecture has a feature whereby when a function
returns early then it is slightly faster to execute a sequence of NOP
instructions to wait until the return address is ready,
as opposed to simply stalling on the ret instruction
until the return address is ready.

When compiling for X86 Atom only, this patch will run a pass, called
"X86PadShortFunction" which will add NOP instructions where less than four
cycles elapse between function entry and return.

It includes tests.

Patch by Andy Zhang.




git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@171603 91177308-0d34-0410-b5e6-96231b3b80d8
2013-01-05 05:42:48 +00:00
..
2012-11-12 06:49:17 +00:00
2012-10-25 17:50:05 +00:00
2011-01-01 21:58:41 +00:00
2012-09-12 21:43:09 +00:00
2012-08-31 20:12:31 +00:00
2012-09-17 18:05:20 +00:00
2012-10-01 16:44:04 +00:00
2012-10-23 21:40:15 +00:00
2012-10-29 17:57:12 +00:00
2012-09-26 08:24:51 +00:00
2012-12-02 15:46:02 +00:00
2012-09-26 08:24:51 +00:00
2012-09-26 08:24:51 +00:00
2012-09-26 08:24:51 +00:00
2012-11-08 07:28:54 +00:00
2012-10-25 17:50:05 +00:00
2012-10-25 17:50:05 +00:00