Skip to content

[mlir][ArmSME] NFC: -force-streaming-compatible-sve rename fixup #93177

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

Merged

Conversation

c-rhodes
Copy link
Collaborator

@c-rhodes c-rhodes commented May 23, 2024

-force-streaming-compatible-sve was renamed in #92774 but this test was missed, no longer required so removing.

-force-streaming-compatible-sve was renamed to
-force-streaming-compatible in llvm#92774.
@llvmbot
Copy link
Member

llvmbot commented May 23, 2024

@llvm/pr-subscribers-mlir

@llvm/pr-subscribers-mlir-sme

Author: Cullen Rhodes (c-rhodes)

Changes

-force-streaming-compatible-sve was renamed to
-force-streaming-compatible in #92774.


Full diff: https://github.com/llvm/llvm-project/pull/93177.diff

1 Files Affected:

  • (modified) mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-ssve.mlir (+1-1)
diff --git a/mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-ssve.mlir b/mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-ssve.mlir
index f283ed31fe58e..ba61be746aa7a 100644
--- a/mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-ssve.mlir
+++ b/mlir/test/Integration/Dialect/Vector/CPU/ArmSME/test-ssve.mlir
@@ -2,7 +2,7 @@
 // DEFINE: %{compile} = mlir-opt %s -test-lower-to-llvm
 // DEFINE: %{run} = %mcr_aarch64_cmd \
 // DEFINE:  -march=aarch64 -mattr=+sve,+sme \
-// DEFINE:  --force-streaming-compatible-sve \
+// DEFINE:  -force-streaming-compatible \
 // DEFINE:  -e %{entry_point} -entry-point-result=i32 \
 // DEFINE:  -shared-libs=%mlir_runner_utils,%mlir_c_runner_utils
 

@@ -2,7 +2,7 @@
// DEFINE: %{compile} = mlir-opt %s -test-lower-to-llvm
// DEFINE: %{run} = %mcr_aarch64_cmd \
// DEFINE: -march=aarch64 -mattr=+sve,+sme \
// DEFINE: --force-streaming-compatible-sve \
// DEFINE: -force-streaming-compatible \
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does it need this flag? Is the arm_streaming attribute not propagated to the LLVM IR function?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is just an old test (that predated the arm_streaming attribute). This can probably be removed now.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yeah it's a good point, think this was the first test we added and the function attribute hadn't been wired up yet or something. Updated to remove the flag altogether.

@c-rhodes c-rhodes merged commit ea20647 into llvm:main May 28, 2024
3 checks passed
@c-rhodes c-rhodes deleted the mlir-arm-sme-force-streaming-compatible-fixup branch May 28, 2024 08:07
qiaojbao pushed a commit to GPUOpen-Drivers/llvm-project that referenced this pull request Jun 26, 2024
…ba70d3543

Local branch amd-gfx bd7ba70 Merged main:8cdecd4d3aedea7bc5f27d1f69da216100cb2815 into amd-gfx:3efff4af20d0
Remote branch main ea20647 [mlir][ArmSME] NFC: -force-streaming-compatible-sve rename fixup (llvm#93177)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants