Unverified Commit 6d30bc00 authored by Sander de Smalen's avatar Sander de Smalen Committed by GitHub
Browse files

[AArch64][SME] Allow inlining when streaming-mode attributes dont match up. (#68415)

The use-case here is to support things like:

  int foo(int x, int y) __arm_streaming { return std::max<int>(x, y); }

where the call to non-streaming `std::max<int>(x, y)` can be safely
inlined into the streaming function.

This is a first step and will need further work to allow more cases
(e.g. more finegrained analysis of the function calls to ensure they
don't result in any incompatible instructions for the requested mode).
parent a902ca66
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment