diff options
author | Sanjay Patel <spatel@rotateright.com> | 2015-06-19 23:21:42 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2015-06-19 23:21:42 +0000 |
commit | cfe0393b8269b85e199025b2350277563f43cd29 (patch) | |
tree | eac6265e20022624c34bfa746252c08cea893163 /llvm/lib/Target/X86/X86InstrInfo.h | |
parent | 18c9dd31de61d8587f98d35bd47f0aceb216ba9f (diff) | |
download | bcm5719-llvm-cfe0393b8269b85e199025b2350277563f43cd29.tar.gz bcm5719-llvm-cfe0393b8269b85e199025b2350277563f43cd29.zip |
name change: hasPattern() -> getMachineCombinerPatterns() ; NFC
This was suggested as part of D10460, but it's independent of
any functional change.
llvm-svn: 240192
Diffstat (limited to 'llvm/lib/Target/X86/X86InstrInfo.h')
-rw-r--r-- | llvm/lib/Target/X86/X86InstrInfo.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/Target/X86/X86InstrInfo.h b/llvm/lib/Target/X86/X86InstrInfo.h index 0fa7a018c71..4912951140d 100644 --- a/llvm/lib/Target/X86/X86InstrInfo.h +++ b/llvm/lib/Target/X86/X86InstrInfo.h @@ -461,12 +461,12 @@ public: /// Return true when there is potentially a faster code sequence /// for an instruction chain ending in <Root>. All potential patterns are /// output in the <Pattern> array. - bool hasPattern( + bool getMachineCombinerPatterns( MachineInstr &Root, SmallVectorImpl<MachineCombinerPattern::MC_PATTERN> &P) const override; - /// When hasPattern() finds a pattern, this function generates the - /// instructions that could replace the original code sequence. + /// When getMachineCombinerPatterns() finds a pattern, this function generates + /// the instructions that could replace the original code sequence. void genAlternativeCodeSequence( MachineInstr &Root, MachineCombinerPattern::MC_PATTERN P, SmallVectorImpl<MachineInstr *> &InsInstrs, |