Displaying 4 results from an estimated 4 matches for "lowerconstantpool".
2013 Jun 25
2
[LLVMdev] Contants generation
Hi again,
Actually, I've just been looking at the existing code and the ARM
solution may be over-complicated for this situation.
You should be able to override EmitConstantPool directly, or possibly
even just override getSectionForConstantKind in
X86LinuxTargetObjectFile (and perhaps others) to return .text.
Tim.
2013 Jun 25
0
[LLVMdev] Contants generation
That what I actually did now, locally in the code.
But I still see the " movabsq"
.text
.align 8, 0x90
.LCPI0_0:
.quad 4606281698874543309 # double 0.9
.LCPI0_1:
.quad 4631147119616759172 # double 42.2794408
.LCPI0_2:
.long 1065353216 # float 1
.zero 4
...
movabsq $.LCPI0_1, %rax # encoding: [0x48,0xb8,A,A,A,A,A,A,A,A]
2013 Mar 25
1
[LLVMdev] Backend port: Adding negative immediates
...-val, MVT::i32));
}
}
return Op;
}
SDValue MxmTargetLowering::
LowerOperation(SDValue Op, SelectionDAG &DAG) const {
switch(Op.getOpcode()) {
case ISD::GlobalAddress:
return LowerGlobalAddress(Op, DAG);
case ISD::ConstantPool:
return LowerConstantPool(Op,DAG);
case ISD::ADD:
return LowerADD(Op,DAG);
default:
llvm_unreachable("illegal custom lowering operation");
}
}
Unfortunately, this has absolutely no effect. The resultig ISel-DAG has
still the adds with negative immediates.
Maybe I'm...
2016 Apr 27
2
[Sparc] builtin setjmp / longjmp - need help to get past last problem
...EH_SJLJ_SETJMP, // builtin setjmp operation
+ EH_SJLJ_LONGJMP, // builtin longjmp operation
+
Hi, Lo, // Hi/Lo operations, typically on a global address.
FTOI, // FP to Int within a FP register.
***************
*** 161,166 ****
--- 164,174 ----
SDValue LowerConstantPool(SDValue Op, SelectionDAG &DAG) const;
SDValue LowerBlockAddress(SDValue Op, SelectionDAG &DAG) const;
+ SDValue LowerEH_SJLJ_SETJMP(SDValue Op, SelectionDAG &DAG,
+ const SparcTargetLowering &TLI) const ;
+ SDValue LowerEH_SJLJ_LONGJMP(...