diff options
author | Sanjay Patel <spatel@rotateright.com> | 2015-11-05 19:34:57 +0000 |
---|---|---|
committer | Sanjay Patel <spatel@rotateright.com> | 2015-11-05 19:34:57 +0000 |
commit | 387e66e79fc368760418f7394a6e93eeeb3f0ec8 (patch) | |
tree | 53b9938e83bb8036fbb22192a468605c0c6eac65 /llvm/lib/Target/PowerPC/PPCInstrInfo.h | |
parent | 2cd0d6d625c098be61da7353315efeb356f5f499 (diff) | |
download | bcm5719-llvm-387e66e79fc368760418f7394a6e93eeeb3f0ec8.tar.gz bcm5719-llvm-387e66e79fc368760418f7394a6e93eeeb3f0ec8.zip |
replace MachineCombinerPattern namespace and enum with enum class; NFCI
Also, remove an enum hack where enum values were used as indexes into an array.
We may want to make this a real class to allow pattern-based queries/customization (D13417).
llvm-svn: 252196
Diffstat (limited to 'llvm/lib/Target/PowerPC/PPCInstrInfo.h')
-rw-r--r-- | llvm/lib/Target/PowerPC/PPCInstrInfo.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PowerPC/PPCInstrInfo.h b/llvm/lib/Target/PowerPC/PPCInstrInfo.h index da4585f2df4..c3c3a480a6a 100644 --- a/llvm/lib/Target/PowerPC/PPCInstrInfo.h +++ b/llvm/lib/Target/PowerPC/PPCInstrInfo.h @@ -145,7 +145,7 @@ public: /// output in the <Pattern> array. bool getMachineCombinerPatterns( MachineInstr &Root, - SmallVectorImpl<MachineCombinerPattern::MC_PATTERN> &P) const override; + SmallVectorImpl<MachineCombinerPattern> &P) const override; bool isAssociativeAndCommutative(const MachineInstr &Inst) const override; |