Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(784)

Issue 157145: Change indirect-globals to use a dedicated allocIndirectGV (Closed)

Can't Edit
Can't Publish+Mail
Start Review
Created:
14 years, 5 months ago by Jeffrey Yasskin
Modified:
14 years, 4 months ago
Reviewers:
evan.cheng
CC:
llvm-commits_cs.uiuc.edu
Base URL:
https://llvm.org/svn/llvm-project/llvm/trunk/
Visibility:
Public.

Description

This lets us remove start/finishGVStub and the BufferState helper class from the MachineCodeEmitter interface. It has the side-effect of not setting the indirect global writable and then executable on ARM, but that shouldn't be necessary.

Patch Set 1 #

Patch Set 2 : Clean up detritus from r89708 #

Patch Set 3 : Fix Evan's comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+85 lines, -108 lines) Patch
M include/llvm/CodeGen/JITCodeEmitter.h View 1 2 1 chunk +5 lines, -23 lines 0 comments Download
M include/llvm/CodeGen/MachineCodeEmitter.h View 1 2 2 chunks +22 lines, -39 lines 0 comments Download
M lib/ExecutionEngine/JIT/JITEmitter.cpp View 1 2 8 chunks +43 lines, -25 lines 0 comments Download
M lib/Target/ARM/ARMJITInfo.cpp View 1 2 1 chunk +5 lines, -11 lines 0 comments Download
M lib/Target/Alpha/AlphaJITInfo.cpp View 2 1 chunk +0 lines, -1 line 0 comments Download
M lib/Target/PowerPC/PPCJITInfo.cpp View 2 1 chunk +0 lines, -1 line 0 comments Download
M lib/Target/X86/X86JITInfo.cpp View 1 2 2 chunks +10 lines, -8 lines 0 comments Download

Messages

Total messages: 6
Jeffrey Yasskin
Hi Evan, could you take a look? http://codereview.appspot.com/download/issue157145_7.diff I think this is an ok change ...
14 years, 5 months ago (2009-11-24 19:28:10 UTC) #1
Jeffrey Yasskin (google)
Hi Evan, any word on this? On Tue, Nov 24, 2009 at 11:28 AM, <jyasskin@gmail.com> ...
14 years, 5 months ago (2009-12-07 21:34:36 UTC) #2
evan.cheng_apple.com
Sorry, completely missed it. + // Size == alignment on ARM. + void *PtrAddr = ...
14 years, 5 months ago (2009-12-07 22:23:54 UTC) #3
Jeffrey Yasskin (google)
On Mon, Dec 7, 2009 at 2:23 PM, Evan Cheng <evan.cheng@apple.com> wrote: > Sorry, completely ...
14 years, 5 months ago (2009-12-07 22:59:45 UTC) #4
echristo_apple.com
> >> Apart from that, it seems fine. Eric, could you test it on x86 ...
14 years, 5 months ago (2009-12-08 01:29:27 UTC) #5
echristo_apple.com
14 years, 5 months ago (2009-12-08 02:22:57 UTC) #6
On Dec 7, 2009, at 5:29 PM, Eric Christopher wrote:

>> 
>>> Apart from that, it seems fine. Eric, could you test it on x86 and x86_64
>>> Darwin?
>> 
>> I'll wait for Eric's ok to check this in.
> 
> Testing now.

The resultant llvm-gcc failed to bootstrap on 32-bit leopard (Died with an
UNREACHABLE).

I haven't debugged it more and it could be transient on ToT.

-eric
Sign in to reply to this message.

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b