Skip to content
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

[msan][NFC] Add arm64-vmax.ll tests #129760

Merged
merged 1 commit into from
Mar 5, 2025
Merged

Conversation

thurstond
Copy link
Contributor

@thurstond thurstond commented Mar 4, 2025

Forked from llvm/test/CodeGen/AArch64/arm64-vmax.ll

Pairwise instructions which are handled incorrectly by heuristics:

  • llvm.aarch64.neon.fmaxp (floating-point maximum pairwise)
  • llvm.aarch64.neon.fminp
  • llvm.aarch64.neon.fmaxnmp (floating-point maximum number pairwise)
  • llvm.aarch64.neon.fminnmp
  • llvm.aarch64.neon.smaxp
  • llvm.aarch64.neon.sminp
  • llvm.aarch64.neon.umaxp
  • llvm.aarch64.neon.uminp
    Future work should consider whether handlePairwiseShadowOrIntrinsic is a more appropriate handler.

Other instructions which are handled correctly by heuristics:

  • llvm.aarch64.neon.fmax
  • llvm.aarch64.neon.fmin
  • llvm.aarch64.neon.smax
  • llvm.aarch64.neon.smin
  • llvm.aarch64.neon.umax
  • llvm.aarch64.neon.umin

Forked from llvm/test/CodeGen/AArch64/arm64-vmax.ll

Pairwise instructions which are handled incorrectly by heuristics:
- llvm.aarch64.neon.fmaxp (floating-point maximum pairwise)
- llvm.aarch64.neon.fminp
- llvm.aarch64.neon.fmaxnmp (floating-point maximum number pairwise)
- llvm.aarch64.neon.fminnmp
- llvm.aarch64.neon.smaxp
- llvm.aarch64.neon.sminp
- llvm.aarch64.neon.umaxp
- llvm.aarch64.neon.uminp
Future work should consider whether handlePairwiseShadowOrIntrinsic is a more appropriate handler.

Other instructions which are handled correctly by heuristics:
- llvm.aarch64.neon.fmax
- llvm.aarch64.neon.fmin
- llvm.aarch64.neon.smax
- llvm.aarch64.neon.smin
- llvm.aarch64.neon.umax
- llvm.aarch64.neon.umin
@thurstond thurstond merged commit 8aafbfd into llvm:main Mar 5, 2025
12 checks passed
thurstond added a commit to thurstond/llvm-project that referenced this pull request Mar 5, 2025
Change the handling of:
- llvm.aarch64.neon.fmaxp
- llvm.aarch64.neon.fminp
- llvm.aarch64.neon.fmaxnmp
- llvm.aarch64.neon.fminnmp
- llvm.aarch64.neon.smaxp
- llvm.aarch64.neon.sminp
- llvm.aarch64.neon.umaxp
- llvm.aarch64.neon.uminp
from the incorrect heuristic handler (maybeHandleSimpleNomemIntrinsic)
to handlePairwiseShadowOrIntrinsic.

Updates the tests from llvm#129760
thurstond added a commit that referenced this pull request Mar 9, 2025
Change the handling of:
- llvm.aarch64.neon.fmaxp
- llvm.aarch64.neon.fminp
- llvm.aarch64.neon.fmaxnmp
- llvm.aarch64.neon.fminnmp
- llvm.aarch64.neon.smaxp
- llvm.aarch64.neon.sminp
- llvm.aarch64.neon.umaxp
- llvm.aarch64.neon.uminp
from the incorrect heuristic handler (maybeHandleSimpleNomemIntrinsic)
to handlePairwiseShadowOrIntrinsic.

Updates the tests from #129760

Adds a note that maybeHandleSimpleNomemIntrinsic may incorrectly match
horizontal/pairwise intrinsics.
llvm-sync bot pushed a commit to arm/arm-toolchain that referenced this pull request Mar 9, 2025
…824)

Change the handling of:
- llvm.aarch64.neon.fmaxp
- llvm.aarch64.neon.fminp
- llvm.aarch64.neon.fmaxnmp
- llvm.aarch64.neon.fminnmp
- llvm.aarch64.neon.smaxp
- llvm.aarch64.neon.sminp
- llvm.aarch64.neon.umaxp
- llvm.aarch64.neon.uminp
from the incorrect heuristic handler (maybeHandleSimpleNomemIntrinsic)
to handlePairwiseShadowOrIntrinsic.

Updates the tests from llvm/llvm-project#129760

Adds a note that maybeHandleSimpleNomemIntrinsic may incorrectly match
horizontal/pairwise intrinsics.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants