mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2026-04-21 23:17:16 +00:00
Use const qualifiers with TargetLowering. This eliminates several
const_casts, and it reinforces the design of the Target classes being immutable. SelectionDAGISel::IsLegalToFold is now a static member function, because PIC16 uses it in an unconventional way. There is more room for API cleanup here. And PIC16's AsmPrinter no longer uses TargetLowering. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@101635 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
@@ -34,7 +34,7 @@ using namespace llvm;
|
||||
namespace {
|
||||
class VectorLegalizer {
|
||||
SelectionDAG& DAG;
|
||||
TargetLowering& TLI;
|
||||
const TargetLowering &TLI;
|
||||
bool Changed; // Keep track of whether anything changed
|
||||
|
||||
/// LegalizedNodes - For nodes that are of legal width, and that have more
|
||||
|
||||
Reference in New Issue
Block a user