[x86] make the subtarget member a const reference, not a pointer ; NFCI

It's passed in as a reference; it's not optional; it's not a pointer.



git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@258867 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Sanjay Patel 2016-01-26 22:08:58 +00:00
parent bf3a7e4025
commit cc3e3c6b70
2 changed files with 731 additions and 731 deletions

File diff suppressed because it is too large Load Diff

View File

@ -955,9 +955,9 @@ namespace llvm {
MVT VT) const override;
private:
/// Keep a pointer to the X86Subtarget around so that we can
/// Keep a reference to the X86Subtarget around so that we can
/// make the right decision when generating code for different targets.
const X86Subtarget *Subtarget;
const X86Subtarget &Subtarget;
/// Select between SSE or x87 floating point ops.
/// When SSE is available, use it for f32 operations.