-
Notifications
You must be signed in to change notification settings - Fork 13.4k
WIP: do not promote rustc_args_required_const #80759
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
Conversation
Is it guaranteed that |
This comment has been minimized.
This comment has been minimized.
Hm... I guess in principle there could be a temporary. |
b9c7e2f
to
f4a3749
Compare
The job Click to see the possible cause of the failure (guessed by this bot)
|
We have plenty of code even in the test suite that passes things like |
This is in preparation of a crater experiment. Cc rust-lang/stdarch#248
Promotion is required for the shuffles since the arguments there are of the form
[0, 1, 2, 3]
, which is not anOperand::Const
. So getting rid of this case of promotion requires more work (see the FIXME in the code).However, first I need to figure out a good place to complain when a
rustc_args_required_const
argument is not anOperand::Const
... any ideas?r? @oli-obk @bjorn3