Amara Emerson e14c91b71a [GlobalISel] Make the InstructionSelector instance non-const, allowing state to be maintained.
Currently we can't keep any state in the selector object that we get from
subtarget. As a result we have to plumb through all our variables through
multiple functions. This change makes it non-const and adds a virtual init()
method to allow further state to be captured for each target.

AArch64 makes use of this in this patch to cache a call to hasFnAttribute()
which is expensive to call, and is used on each selection of G_BRCOND.

Differential Revision: https://reviews.llvm.org/D65984

llvm-svn: 368652
2019-08-13 06:26:59 +00:00
2019-08-12 19:19:29 +00:00
2019-08-13 00:25:49 +00:00
2019-08-12 12:37:30 +00:00
2019-08-08 17:10:45 +00:00
…

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.

S
Description
Full LLVM 23.1.5 fork for TMS34010 (compiler target + clang bit-address changes)
Readme Apache-2.0
3.2 GiB
0 Stars 1 Watchers 0 Forks
Languages
LLVM 42.2%
C++ 29.9%
C 12.6%
Assembly 10.2%
MLIR 1.7%
Other 2.9%