Displaying 2 results from an estimated 2 matches for "xxxi32".
Did you mean:
64xi32
2014 Apr 04
2
[LLVMdev] 32bit pointers on a (pure) 64bit architecture
...verified that the same
issues are there for llvm-3.4
- I did implement:
virtual MVT getScalarShiftAmountTy(EVT LHSTy) const { return MVT::i64; }
although I have no good idea why the default for that is mapped to the
pointer type...
In the following sample:
- if full 64bit pointers are used, XXXi32 will be 'i64' and everything
legalizes/compiles fine
- if 32bit pointers are used, XXXi32 will be 'i32' and legalization fails.
*** IR Dump After Module Verifier ***
; Function Attrs: nounwind
define void @foo(i32 %lhs) #0 {
entry:
store i32 %lhs, i32* @g_bar, align 4, !tbaa !0...
2014 Apr 04
2
[LLVMdev] 32bit pointers on a (pure) 64bit architecture
Hi Hal,
On Fri, Apr 4, 2014 at 12:44 AM, Hal Finkel <hfinkel at anl.gov> wrote:
> ----- Original Message -----
> > From: "Jeroen Dobbelaere" <jeroen.dobbelaere at gmail.com>
> [... ]
>
> I am trying to get llvm working for an architecture that has 64bit
> > registers, but 32bit addresses.
> > Because of that, I want the pointers to also be