Use unstable_target_features when checking inline assembly#114467
Use unstable_target_features when checking inline assembly#114467bors merged 1 commit intorust-lang:masterfrom
unstable_target_features when checking inline assembly#114467Conversation
This is necessary to properly validate register classes even when the relevant target feature name is still unstable.
|
r? @b-naber (rustbot has picked a reviewer for you, use r? to override) |
|
Some changes occurred in compiler/rustc_codegen_gcc cc @antoyo |
|
Is there a test for this? Or an issue to link? |
|
This was mostly caught by checking that asm consistently uses The new form is "more correct" since it matches other uses of target features for inline asm checking, but I couldn't figure out an example of where this actually makes a difference in codegen. |
|
Does seem reasonable to me, but I'm not sure I fully understand the implications of this change. r? @oli-obk mabye? |
|
Could not assign reviewer from: |
|
r? compiler |
davidtwco
left a comment
There was a problem hiding this comment.
It would be great if we could add a test for this, but this has been open a while and is a very small change so I'll approve.
|
@bors r+ |
|
☀️ Test successful - checks-actions |
|
Finished benchmarking commit (c1699a7): comparison URL. Overall result: no relevant changes - no action needed@rustbot label: -perf-regression Instruction countThis benchmark run did not return any relevant results for this metric. Max RSS (memory usage)ResultsThis is a less reliable metric that may be of interest but was not used to determine the overall result at the top of this comment.
CyclesThis benchmark run did not return any relevant results for this metric. Binary sizeThis benchmark run did not return any relevant results for this metric. Bootstrap: 632.523s -> 633.856s (0.21%) |
…idtwco Use `unstable_target_features` when checking inline assembly This is necessary to properly validate register classes even when the relevant target feature name is still unstable.
This is necessary to properly validate register classes even when the relevant target feature name is still unstable.