Displaying 20 results from an estimated 10000 matches similar to: "[LLVMdev] AArch64: GHC compilation issue."
2011 Jul 01
2
[LLVMdev] Please review my patch to make GHC calling convention work on ARM
All,
I would like to submit the attached patch, which allows the GHC (Glasgow
Haskell Compiler) calling convention to work on ARM targets.
Could some nice person please review this code, so I can move towards
getting it committed?
I have thoroughly tested this patch again GHC on a Debian-ARM (armel)
system. Unfortunately my understanding of LLVM is limited, so it's
likely I'm not
2011 Jul 01
0
[LLVMdev] Please review my patch to make GHC calling convention work on ARM
Hi Steve,
I'm not an LLVM developer but am the author/maintainer of the LLVM
backend in GHC.
The patch looks mostly good to me (although I am not that familiar
with ARM so could easily have missed something). My main concern is
why are you avoiding using the R0 - R3 registers?
Also, could you please update me on the status of this work. I assume
you are getting GHC running in registerised
2011 Oct 14
1
[LLVMdev] Request for merge: GHC/ARM calling convention.
Hello,
today is the last day[1] when someone might ask for feature merge into
the LLVM 3.0 release. I'd like to ask you to merge attached patch. This
is implementation of GHC calling convention on ARM platform which is
made by Stephen Blackheath with few additions by me. I hope that
although the patch does not contain any test case, it still will be
merged. The reason for this is that
2012 Jun 29
2
[LLVMdev] Request for merge: GHC/ARM calling convention.
Hi Renato,
On 06/25/12 12:13 AM, Renato Golin wrote:
> Hi Karel,
>
> I understand this patch has already been merged (to 3.0), so don't
> take my question as stopping the merge to head, I'm just making sure I
> got it right... The rest looks correct.
>
> + CCIfType<[v2f64], CCAssignToReg<[Q4, Q5]>>,
> + CCIfType<[f64], CCAssignToReg<[D8, D9,
2012 Jun 29
0
[LLVMdev] Request for merge: GHC/ARM calling convention.
On 29 June 2012 17:46, Karel Gardas <karel.gardas at centrum.cz> wrote:
> Yes and no. Shortly: original GHC/ARM/LLVM port was done by Stephen on
> ARMv5/Qemu IIRC. I've later added whole VFP support and ARMv7 support. The
> code in GHC is properly #ifdefed, so if there is no VFP available on pre
> ARMv6, then it's not used. ie. GHC STG floating points regs are then
>
2012 Jun 24
4
[LLVMdev] Request for merge: GHC/ARM calling convention.
Hello,
first of all: one of the LLVM 3.0 new feature was a support for GHC
specific calling convention on ARM platform. It looks like this support
was merged just into 3.0 branch, specifically it appeared in 3.0 RC2.
Anyway, I hope this is just a mistake or omission that such support was
merged only into 3.0 and not also into HEAD. I've just found it by
testing LLVM 3.1 with GHC 7.4.2 and
2011 Jun 17
2
[LLVMdev] ARM support status (GHC/ARM new calling convention)
Hello Cameron,
thanks a lot for your fast answer, which just makes me curious if making
ARM tailcalls on par with x86 in the future is on some of the
development plans already? If not, then what do you think is the
complexity of such work?
Thanks!
Karel
On 06/17/11 10:41 PM, Cameron Zwarich wrote:
> They work pretty well now, at least on Thumb2 / Darwin. It is still fairly conservative
2011 Jun 17
0
[LLVMdev] ARM support status (GHC/ARM new calling convention)
I don't know if GuaranteedTailCallOpt is in anyone's plans. It might be a good idea to implement some time. I am not sure what GHC's exact needs are, though.
Cameron
On Jun 17, 2011, at 1:49 PM, Karel Gardas wrote:
>
> Hello Cameron,
>
> thanks a lot for your fast answer, which just makes me curious if making ARM tailcalls on par with x86 in the future is on some of
2011 Jun 16
1
[LLVMdev] ARM support status (GHC/ARM new calling convention)
On 06/16/11 11:00 PM, John McCall wrote:
> On Jun 16, 2011, at 1:35 PM, Karel Gardas wrote:
>> I'm working on implementing GHC specific call convention into LLVM
>> 2.9. I've chosen LLVM 2.9 as a kind of stable reference point and I
>> would like to know how mature is ARM code generation chain inside
>> this release. I've had a hope that perhaps Apple as a
2011 Jul 01
1
[LLVMdev] Please review my patch to make GHC calling convention work on ARM
David,
Thanks for that - I emailed Karel Gardas. I've got GHC successfully
registerised on ARM, and I'm just starting on pushing it upstream.
The reason why I'm avoiding the R0-R3 registers is mainly because my
qemu-based ARM VM takes days to compile everything, and I was being
conservative. The GHC code can call directly out to C, so it would need
to save its own R0-R3 when it
2011 Jun 16
3
[LLVMdev] ARM support status (GHC/ARM new calling convention)
Hello,
I'm working on implementing GHC specific call convention into LLVM 2.9.
I've chosen LLVM 2.9 as a kind of stable reference point and I would
like to know how mature is ARM code generation chain inside this
release. I've had a hope that perhaps Apple as a main sponsor of LLVM is
using LLVM for their ARM based iOS software development, but I'm not
sure if I'm right
2011 Jun 16
0
[LLVMdev] ARM support status (GHC/ARM new calling convention)
On Jun 16, 2011, at 1:35 PM, Karel Gardas wrote:
> I'm working on implementing GHC specific call convention into LLVM 2.9. I've chosen LLVM 2.9 as a kind of stable reference point and I would like to know how mature is ARM code generation chain inside this release. I've had a hope that perhaps Apple as a main sponsor of LLVM is using LLVM for their ARM based iOS software
2011 Aug 29
3
[LLVMdev] ARM issue: Trying to add an operand to a machine instr that is already done!
Hello,
I've compiled today's LLVM on ARM/Linux machine and attempted to use our
GHC/ARM port (which is using LLVM as a backend for generating machine
code) with it but I've failed in compiling GHC alone as LLVM fails on me
with following message:
llc:
/export/home/karel/vcs/llvm-ghc-arm/lib/CodeGen/MachineInstr.cpp:612:
void llvm::MachineInstr::addOperand(const
2011 Jun 17
0
[LLVMdev] ARM support status (GHC/ARM new calling convention)
They work pretty well now, at least on Thumb2 / Darwin. It is still fairly conservative about when to use tail calls, and doesn't support GuaranteedTailCallOpt, which might be necessary for GHC.
Cameron
On Jun 17, 2011, at 1:31 PM, Karel Gardas wrote:
>
> John,
>
> I've moved with patches to HEAD and unfortunately the comments about
> disabling tailcalls do not go
2011 Aug 29
1
[LLVMdev] ARM issue: Trying to add an operand to a machine instr that is already done!
Hi Jim and Eric!
thanks a lot for your fantastically fast reply. I'm going to update and
will report tomorrow when all the building is done.
Thanks!
Karel
On 08/29/11 11:36 PM, Jim Grosbach wrote:
> Hi Karel,
>
> Mind trying again with current top of tree? Owen's fixed a few things today that were manifesting with that error.
>
> -Jim
>
> On Aug 29, 2011, at 2:33
2012 Jun 29
1
[LLVMdev] Request for merge: GHC/ARM calling convention.
On 06/29/12 11:12 PM, Renato Golin wrote:
> On 29 June 2012 17:46, Karel Gardas<karel.gardas at centrum.cz> wrote:
>> Yes and no. Shortly: original GHC/ARM/LLVM port was done by Stephen on
>> ARMv5/Qemu IIRC. I've later added whole VFP support and ARMv7 support. The
>> code in GHC is properly #ifdefed, so if there is no VFP available on pre
>> ARMv6, then
2011 Jun 17
2
[LLVMdev] ARM support status (GHC/ARM new calling convention)
John,
I've moved with patches to HEAD and unfortunately the comments about
disabling tailcalls do not go away with this update. Please see
ARMTargetLowering::LowerCall in lib/Target/ARM/ARMISelLowering.cpp line
1208 and later. It looks like man can use -arm-tail-calls, but one never
knows how good it is since the comment tells it clearly:
// Temporarily disable tail calls so things
2011 Jul 08
3
[LLVMdev] LLVM on ARM testing.
On 07/ 4/11 01:39 AM, Eli Friedman wrote:
> For the JIT failures, it would be nice if you could track down the SVN
> revision when it started failing. (We have an ARM buildbot at
> http://google1.osuosl.org:8011/builders/clang-native-arm-cortex-a9 ,
> but the JIT was already broken when it was set up.)
I've used my i.MX53 board to get this, but I'm returning it today back
to
2011 Aug 29
0
[LLVMdev] ARM issue: Trying to add an operand to a machine instr that is already done!
Hi Karel,
Mind trying again with current top of tree? Owen's fixed a few things today that were manifesting with that error.
-Jim
On Aug 29, 2011, at 2:33 PM, Karel Gardas wrote:
> Hello,
>
> I've compiled today's LLVM on ARM/Linux machine and attempted to use our GHC/ARM port (which is using LLVM as a backend for generating machine code) with it but I've failed in
2012 Aug 01
2
[LLVMdev] Request for merge: GHC/ARM calling convention.
On 08/ 1/12 05:14 AM, Marshall Clow wrote:
> Anyone know the status of this patch?
> Did it get applied? Rejected? Ok'ed but not applied?
Hello,
as far as I know, it's not presented in today's HEAD.
Thanks,
Karel