[all-commits] [llvm/llvm-project] 2c9c22: [ARM64EC] Fix thunks for vector args (#96003)
Daniel Paoliello via All-commits
all-commits at lists.llvm.org
Sat Jun 22 11:01:58 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2c9c22c6e295b1176225b63ae4cbbceb216da55e
https://github.com/llvm/llvm-project/commit/2c9c22c6e295b1176225b63ae4cbbceb216da55e
Author: Daniel Paoliello <danpao at microsoft.com>
Date: 2024-06-22 (Sat, 22 Jun 2024)
Changed paths:
M llvm/lib/Target/AArch64/AArch64Arm64ECCallLowering.cpp
M llvm/test/CodeGen/AArch64/arm64ec-entry-thunks.ll
M llvm/test/CodeGen/AArch64/arm64ec-exit-thunks.ll
Log Message:
-----------
[ARM64EC] Fix thunks for vector args (#96003)
The checks when building a thunk to decide if an arg needed to be cast
to/from an integer or redirected via a pointer didn't match how arg
types were changed in `canonicalizeThunkType`, this caused LLVM to ICE
when using vector types as args due to incorrect types in a call
instruction.
Instead of duplicating these checks, we should check if the arg type
differs between x64 and AArch64 and then cast or redirect as
appropriate.
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