Skip to content

Commit a6b738c

Browse files
authored
Merge pull request #3 from exscape/float-comp-fix
[AVR] Implement getCmpLibcallReturnType().
2 parents a5e4ec2 + f7a473a commit a6b738c

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

lib/Target/AVR/AVRISelLowering.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,11 @@ class AVRTargetLowering : public TargetLowering {
7575
MVT getScalarShiftAmountTy(const DataLayout &, EVT LHSTy) const override {
7676
return MVT::i8;
7777
}
78+
79+
MVT::SimpleValueType getCmpLibcallReturnType() const override {
80+
return MVT::i8;
81+
}
82+
7883
const char *getTargetNodeName(unsigned Opcode) const override;
7984

8085
SDValue LowerOperation(SDValue Op, SelectionDAG &DAG) const override;

0 commit comments

Comments
 (0)