-
Notifications
You must be signed in to change notification settings - Fork 14.3k
[VP][RISCV] Add a vp.load.ff intrinsic for fault only first load. #128593
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
b4e4666
07cf13c
2fb476e
4f2fbff
93d6ab7
5f0f3cc
6720314
3a8289f
081ab46
c1fae0d
c6c237d
1b39f42
cbf0bb0
249b585
7e6a57e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -587,6 +587,12 @@ VP_PROPERTY_FUNCTIONAL_OPC(Load) | |
VP_PROPERTY_FUNCTIONAL_INTRINSIC(masked_load) | ||
END_REGISTER_VP(vp_load, VP_LOAD) | ||
|
||
BEGIN_REGISTER_VP_INTRINSIC(experimental_vp_load_ff, 1, 2) | ||
// val,chain = VP_LOAD_FF chain,base,mask,evl | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I was going to ask why this doesn't have an offset operand like the others so it could inherit from SelectionDAGBuilder doesn't set it, I think it's always undef. Not for this PR but can we remove it? There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
I think we can probably remove Offset and Addressing mode until a target comes along that needs them. |
||
BEGIN_REGISTER_VP_SDNODE(VP_LOAD_FF, -1, experimental_vp_load_ff, 2, 3) | ||
HELPER_MAP_VPID_TO_VPSD(experimental_vp_load_ff, VP_LOAD_FF) | ||
VP_PROPERTY_NO_FUNCTIONAL | ||
END_REGISTER_VP(experimental_vp_load_ff, VP_LOAD_FF) | ||
// llvm.experimental.vp.strided.load(ptr,stride,mask,vlen) | ||
BEGIN_REGISTER_VP_INTRINSIC(experimental_vp_strided_load, 2, 3) | ||
// chain = EXPERIMENTAL_VP_STRIDED_LOAD chain,base,offset,stride,mask,evl | ||
|
Uh oh!
There was an error while loading. Please reload this page.