Displaying 3 results from an estimated 3 matches for "sra_i16".
2019 Jun 10
2
Bug: Library functions for ISD::SRA, ISD::SHL, and ISD::SRL
LLVM appears to support Library functions for ISD::SRA ,ISD::SHL, and ISD::SRL, as they are properly defined in RuntimeLibCalls.def.
The library functions defined in RuntimeLibCalls.def (among others) are these:
HANDLE_LIBCALL(SRA_I16, "__ashrhi3")
HANDLE_LIBCALL(SRA_I32, "__ashrsi3")
HANDLE_LIBCALL(SRA_I64, "__ashrdi3")
However, setting
setOperationAction(ISD::SRA, MVT::i16, LibCall);
in the TargetLowering constructor causes LLVM to stop with an assert as the shift instruction can’t be selected....
2019 Jun 10
2
Bug: Library functions for ISD::SRA, ISD::SHL, and ISD::SRL
...for ISD::SRA, ISD::SHL, and ISD::SRL
>
> LLVM appears to support Library functions for ISD::SRA ,ISD::SHL, and ISD::SRL, as they are properly defined in RuntimeLibCalls.def.
>
> The library functions defined in RuntimeLibCalls.def (among others) are these:
>
> HANDLE_LIBCALL(SRA_I16, "__ashrhi3")
> HANDLE_LIBCALL(SRA_I32, "__ashrsi3")
> HANDLE_LIBCALL(SRA_I64, "__ashrdi3")
>
> However, setting
>
> setOperationAction(ISD::SRA, MVT::i16, LibCall);
>
> in the TargetLowering constructor causes LLVM to stop with an assert...
2019 Jun 11
2
Bug: Library functions for ISD::SRA, ISD::SHL, and ISD::SRL
...for ISD::SRA, ISD::SHL, and ISD::SRL
>
> LLVM appears to support Library functions for ISD::SRA ,ISD::SHL, and ISD::SRL, as they are properly defined in RuntimeLibCalls.def.
>
> The library functions defined in RuntimeLibCalls.def (among others) are these:
>
> HANDLE_LIBCALL(SRA_I16, "__ashrhi3")
> HANDLE_LIBCALL(SRA_I32, "__ashrsi3")
> HANDLE_LIBCALL(SRA_I64, "__ashrdi3")
>
> However, setting
>
> setOperationAction(ISD::SRA, MVT::i16, LibCall);
>
> in the TargetLowering constructor causes LLVM to stop with an assert...