search for: promoteintres_vaarg

Displaying 4 results from an estimated 4 matches for "promoteintres_vaarg".

2012 Mar 23
2
[LLVMdev] Fixing VAARG on PPC64
...oType (ISD::VAARG, MVT::i16, MVT::i64); > > setOperationAction(ISD::VAARG, MVT::i32, Promote); > > AddPromotedToType (ISD::VAARG, MVT::i32, MVT::i64); > > but this does not seem to have any effect. I thought this would work > > because SDValue DAGTypeLegalizer::PromoteIntRes_VAARG seems to have > > the appropriate logic. Is this a bug, or am I misunderstanding how > > Promote works? > > IMHO, you are doing it right but it looks like ISD::VAARG is not > handled in SelectionDAGLegalize::PromoteNode() yet. DAGTypeLegalizer > is used to legalize "no...
2012 Mar 23
0
[LLVMdev] Fixing VAARG on PPC64
...ARG, MVT::i16, MVT::i64); >>> setOperationAction(ISD::VAARG, MVT::i32, Promote); >>> AddPromotedToType (ISD::VAARG, MVT::i32, MVT::i64); >>> but this does not seem to have any effect. I thought this would work >>> because SDValue DAGTypeLegalizer::PromoteIntRes_VAARG seems to have >>> the appropriate logic. Is this a bug, or am I misunderstanding how >>> Promote works? >> IMHO, you are doing it right but it looks like ISD::VAARG is not >> handled in SelectionDAGLegalize::PromoteNode() yet. DAGTypeLegalizer >> is used to legal...
2012 Mar 23
2
[LLVMdev] Fixing VAARG on PPC64
...RG, MVT::i16, Promote); AddPromotedToType (ISD::VAARG, MVT::i16, MVT::i64); setOperationAction(ISD::VAARG, MVT::i32, Promote); AddPromotedToType (ISD::VAARG, MVT::i32, MVT::i64); but this does not seem to have any effect. I thought this would work because SDValue DAGTypeLegalizer::PromoteIntRes_VAARG seems to have the appropriate logic. Is this a bug, or am I misunderstanding how Promote works? Thanks again, Hal -- Hal Finkel Postdoctoral Appointee Leadership Computing Facility Argonne National Laboratory
2012 Mar 23
0
[LLVMdev] Fixing VAARG on PPC64
...AddPromotedToType (ISD::VAARG, MVT::i16, MVT::i64); > setOperationAction(ISD::VAARG, MVT::i32, Promote); > AddPromotedToType (ISD::VAARG, MVT::i32, MVT::i64); > but this does not seem to have any effect. I thought this would work > because SDValue DAGTypeLegalizer::PromoteIntRes_VAARG seems to have the > appropriate logic. Is this a bug, or am I misunderstanding how Promote > works? IMHO, you are doing it right but it looks like ISD::VAARG is not handled in SelectionDAGLegalize::PromoteNode() yet. DAGTypeLegalizer is used to legalize "non-legal" types regardle...