llvm-project/llvm
Peter Waller 2d574a1104 [CodeGen][AArch64][SVE] Canonicalize intrinsic rdffr{ => _z}
Follow up to D101357 / 3fa6510f6.
Supersedes D102330.

Goal: Use flags setting rdffrs instead of rdffr + ptest.

Problem: RDFFR_P doesn't have have a flags setting equivalent.

Solution: in instcombine, canonicalize to RDFFR_PP at the IR level, and
rely on RDFFR_PP+PTEST => RDFFRS_PP optimization in
AArch64InstrInfo::optimizePTestInstr.

While here:

* Test that rdffr.z+ptest generates a rdffrs.
* Use update_{test,llc}_checks.py on the tests.
* Use sve attribute on functions.

Differential Revision: https://reviews.llvm.org/D102623
2021-05-20 16:22:50 +00:00
..
benchmarks
bindings Support unwinding from inline assembly 2021-05-13 19:13:03 +01:00
cmake [CMake] Don't LTO optimize targets that aren't part of any distribution 2021-05-19 15:02:11 -07:00
docs Revert "[Debugify][Original DI] Test dbg var loc preservation" 2021-05-20 07:11:35 -07:00
examples [ORC] Update SpeculativeJIT example for dispatchTask changes in 5344c88dcb. 2021-05-10 09:30:46 -07:00
include [ARM][AArch64] SLSHardening: make non-comdat thunks possible 2021-05-20 17:07:05 +02:00
lib [CodeGen][AArch64][SVE] Canonicalize intrinsic rdffr{ => _z} 2021-05-20 16:22:50 +00:00
projects
resources
runtimes
test [CodeGen][AArch64][SVE] Canonicalize intrinsic rdffr{ => _z} 2021-05-20 16:22:50 +00:00
tools [llvm-strip] Add support for '--' for delimiting options from input files 2021-05-20 03:33:51 -07:00
unittests Revert "[Debugify][Original DI] Test dbg var loc preservation" 2021-05-20 07:11:35 -07:00
utils Revert "[Debugify][Original DI] Test dbg var loc preservation" 2021-05-20 07:11:35 -07:00
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt [CMake] Don't LTO optimize targets that aren't part of any distribution 2021-05-19 15:02:11 -07:00
CODE_OWNERS.TXT
CREDITS.TXT
LICENSE.TXT
README.txt
RELEASE_TESTERS.TXT
configure
llvm.spec.in

README.txt

The LLVM Compiler Infrastructure
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.