forked from OSchip/llvm-project
[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. llvm-svn: 258867
This commit is contained in:
parent
b4c73d8d8a
commit
06fe9183b0
File diff suppressed because it is too large
Load Diff
|
@ -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.
|
||||
|
|
Loading…
Reference in New Issue