-
Notifications
You must be signed in to change notification settings - Fork 13.5k
[Xtensa] Implement sextload i8 #106053
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[Xtensa] Implement sextload i8 #106053
Conversation
@arsenm , @s-barannikov , please review this PR whenever you have the time. |
@@ -70,11 +70,12 @@ XtensaTargetLowering::XtensaTargetLowering(const TargetMachine &TM, | |||
setOperationAction(ISD::FP_TO_UINT, MVT::i32, Expand); | |||
setOperationAction(ISD::FP_TO_SINT, MVT::i32, Expand); | |||
|
|||
// No sign extend instructions for i1 | |||
// No sign extend instructions for i1 and sign extend load i8 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Comments should end with a period.
@@ -70,11 +70,12 @@ XtensaTargetLowering::XtensaTargetLowering(const TargetMachine &TM, | |||
setOperationAction(ISD::FP_TO_UINT, MVT::i32, Expand); | |||
setOperationAction(ISD::FP_TO_SINT, MVT::i32, Expand); | |||
|
|||
// No sign extend instructions for i1 | |||
// No sign extend instructions for i1 and sign extend load i8 | |||
for (MVT VT : MVT::integer_valuetypes()) { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FWIW you only need to set actions for legal VTs, that is only for VT == MVT::i32
.
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/43/builds/4985 Here is the relevant piece of the build log for the reference
|
LLVM Buildbot has detected a new failure on builder Full details are available at: https://lab.llvm.org/buildbot/#/builders/78/builds/4662 Here is the relevant piece of the build log for the reference
|
No description provided.