mirror of
https://github.com/RPCSX/llvm.git
synced 2025-02-10 06:24:58 +00:00
[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:
parent
bf3a7e4025
commit
cc3e3c6b70
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…
x
Reference in New Issue
Block a user