[all-commits] [llvm/llvm-project] a1ee1a: [CodeGen] @llvm.experimental.stackmap make operand...

Guillaume DI FATTA via All-commits all-commits at lists.llvm.org
Wed Dec 11 01:41:42 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a1ee1a9126678aabd3b02ef1367df8879d2536fa
      https://github.com/llvm/llvm-project/commit/a1ee1a9126678aabd3b02ef1367df8879d2536fa
  Author: Guillaume DI FATTA <124087040+Atafid at users.noreply.github.com>
  Date:   2024-12-11 (Wed, 11 Dec 2024)

  Changed paths:
    M llvm/docs/StackMaps.rst
    M llvm/include/llvm/IR/Intrinsics.td
    A llvm/test/CodeGen/AArch64/stackmap-args.ll
    A llvm/test/CodeGen/PowerPC/ppc64-stackmap-args.ll
    A llvm/test/CodeGen/RISCV/rv64-stackmap-args.ll
    A llvm/test/CodeGen/SystemZ/stackmap-args.ll
    A llvm/test/CodeGen/X86/stackmap-args.ll

  Log Message:
  -----------
  [CodeGen] @llvm.experimental.stackmap make operands immediate (#117932)

This pull request modifies the behavior of the
`@llvm.experimental.stackmap` intrinsic to require that its two first
operands (`id` and `numShadowBytes`) be **immediate values**. This
change ensures that variables cannot be passed as two first arguments to
this intrinsic.


Related Issue: https://github.com/llvm/llvm-project/issues/115733

### Testing
- Added new test cases to ensure errors are emitted for non-immediate
operands.
- Ran the full LLVM test suite to verify no regressions were introduced.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list