Page MenuHomePhabricator

[AArch64] Select PAC/PACGA for ptrauth.sign/sign_generic.
Needs ReviewPublic

Authored by ab on Nov 9 2020, 8:55 AM.

Details

Summary

This builds on D90868 to introduce the straightforward isel patterns for sign/sign_generic.

Diff Detail

Unit TestsFailed

TimeTest
380 mslinux > HWAddressSanitizer-x86_64.TestCases::sizes.cpp
Script: -- : 'RUN: at line 3'; /mnt/disks/ssd0/agent/llvm-project/build/./bin/clang --driver-mode=g++ -m64 -gline-tables-only -fsanitize=hwaddress -fuse-ld=lld -mcmodel=large -mllvm -hwasan-globals -mllvm -hwasan-use-short-granules -mllvm -hwasan-instrument-landing-pads=0 -mllvm -hwasan-instrument-personality-functions /mnt/disks/ssd0/agent/llvm-project/compiler-rt/test/hwasan/TestCases/sizes.cpp -nostdlib++ -lstdc++ -o /mnt/disks/ssd0/agent/llvm-project/build/projects/compiler-rt/test/hwasan/X86_64/TestCases/Output/sizes.cpp.tmp
250 mslinux > LLVM.CodeGen/AArch64::ptrauth-intrinsics.ll
Script: -- : 'RUN: at line 2'; /mnt/disks/ssd0/agent/llvm-project/build/bin/llc < /mnt/disks/ssd0/agent/llvm-project/llvm/test/CodeGen/AArch64/ptrauth-intrinsics.ll -mtriple arm64e-apple-darwin -verify-machineinstrs | /mnt/disks/ssd0/agent/llvm-project/build/bin/FileCheck /mnt/disks/ssd0/agent/llvm-project/llvm/test/CodeGen/AArch64/ptrauth-intrinsics.ll --check-prefixes=ALL
240 mslinux > LLVM.CodeGen/AArch64/GlobalISel::ptrauth-intrinsics.ll
Script: -- : 'RUN: at line 2'; /mnt/disks/ssd0/agent/llvm-project/build/bin/llc < /mnt/disks/ssd0/agent/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/ptrauth-intrinsics.ll -mtriple arm64e-apple-darwin -global-isel -global-isel-abort=1 | /mnt/disks/ssd0/agent/llvm-project/build/bin/FileCheck /mnt/disks/ssd0/agent/llvm-project/llvm/test/CodeGen/AArch64/GlobalISel/ptrauth-intrinsics.ll --check-prefixes=ALL
140 mswindows > LLVM.CodeGen/AArch64::ptrauth-intrinsics.ll
Script: -- : 'RUN: at line 2'; c:\ws\w16c2-1\llvm-project\premerge-checks\build\bin\llc.exe < C:\ws\w16c2-1\llvm-project\premerge-checks\llvm\test\CodeGen\AArch64\ptrauth-intrinsics.ll -mtriple arm64e-apple-darwin -verify-machineinstrs | c:\ws\w16c2-1\llvm-project\premerge-checks\build\bin\filecheck.exe C:\ws\w16c2-1\llvm-project\premerge-checks\llvm\test\CodeGen\AArch64\ptrauth-intrinsics.ll --check-prefixes=ALL
160 mswindows > LLVM.CodeGen/AArch64/GlobalISel::ptrauth-intrinsics.ll
Script: -- : 'RUN: at line 2'; c:\ws\w16c2-1\llvm-project\premerge-checks\build\bin\llc.exe < C:\ws\w16c2-1\llvm-project\premerge-checks\llvm\test\CodeGen\AArch64\GlobalISel\ptrauth-intrinsics.ll -mtriple arm64e-apple-darwin -global-isel -global-isel-abort=1 | c:\ws\w16c2-1\llvm-project\premerge-checks\build\bin\filecheck.exe C:\ws\w16c2-1\llvm-project\premerge-checks\llvm\test\CodeGen\AArch64\GlobalISel\ptrauth-intrinsics.ll --check-prefixes=ALL
View Full Test Results (6 Failed)

Event Timeline

ab created this revision.Nov 9 2020, 8:55 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 9 2020, 8:55 AM
ab requested review of this revision.Nov 9 2020, 8:55 AM
danielkiss added inline comments.Nov 9 2020, 11:04 AM
llvm/test/CodeGen/AArch64/ptrauth-intrinsics.ll
2

I'd prefer adding one more RUN line instead of duplicating the file.