mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-02 17:29:03 +00:00
Mark a couple of the X86 target classes as final. Allows the compiler to de-virtualize some internal calls.
llvm-svn: 205165
This commit is contained in:
parent
9ec6d57e94
commit
cad9e27028
@ -141,7 +141,7 @@ namespace {
|
||||
/// ISel - X86 specific code to select X86 machine instructions for
|
||||
/// SelectionDAG operations.
|
||||
///
|
||||
class X86DAGToDAGISel : public SelectionDAGISel {
|
||||
class X86DAGToDAGISel final : public SelectionDAGISel {
|
||||
/// Subtarget - Keep a pointer to the X86Subtarget around so that we can
|
||||
/// make the right decision when generating code for different targets.
|
||||
const X86Subtarget *Subtarget;
|
||||
|
@ -521,7 +521,7 @@ namespace llvm {
|
||||
|
||||
//===--------------------------------------------------------------------===//
|
||||
// X86TargetLowering - X86 Implementation of the TargetLowering interface
|
||||
class X86TargetLowering : public TargetLowering {
|
||||
class X86TargetLowering final : public TargetLowering {
|
||||
public:
|
||||
explicit X86TargetLowering(X86TargetMachine &TM);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user