mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-02-22 13:29:44 +00:00
[NVPTX] Default pointer type doesn't make sense for getParamSymbol()
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@184831 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
58bf5ea452
commit
5df8c1bbb6
@ -1135,7 +1135,7 @@ SDValue NVPTXTargetLowering::LowerFormalArguments(
|
||||
// A plain scalar.
|
||||
if (isABI || isKernel) {
|
||||
// If ABI, load from the param symbol
|
||||
SDValue Arg = getParamSymbol(DAG, idx);
|
||||
SDValue Arg = getParamSymbol(DAG, idx, getPointerTy());
|
||||
// Conjure up a value that we can get the address space from.
|
||||
// FIXME: Using a constant here is a hack.
|
||||
Value *srcValue = Constant::getNullValue(
|
||||
|
@ -144,7 +144,7 @@ private:
|
||||
|
||||
SDValue getExtSymb(SelectionDAG &DAG, const char *name, int idx,
|
||||
EVT = MVT::i32) const;
|
||||
SDValue getParamSymbol(SelectionDAG &DAG, int idx, EVT = MVT::i32) const;
|
||||
SDValue getParamSymbol(SelectionDAG &DAG, int idx, EVT) const;
|
||||
SDValue getParamHelpSymbol(SelectionDAG &DAG, int idx);
|
||||
|
||||
SDValue LowerCONCAT_VECTORS(SDValue Op, SelectionDAG &DAG) const;
|
||||
|
Loading…
x
Reference in New Issue
Block a user