Sanjay Patel
0d7df36c66
[TargetSchedule] shrink interface for init(); NFCI
...
The TargetSchedModel is always initialized using the TargetSubtargetInfo's
MCSchedModel and TargetInstrInfo, so we don't need to extract those and
pass 3 parameters to init().
Differential Revision: https://reviews.llvm.org/D44789
llvm-svn: 329540
2018-04-08 19:56:04 +00:00
Matthias Braun
f1caa2833f
MachineFunction: Return reference from getFunction(); NFC
...
The Function can never be nullptr so we can return a reference.
llvm-svn: 320884
2017-12-15 22:22:58 +00:00
Evandro Menezes
a9134e86f1
[AArch64] Fix typo in the ASIMD instruction optimization pass
...
Fix typo in the representative instruction replacement.
Also, fix formatting and reword some comments.
llvm-svn: 320839
2017-12-15 18:26:54 +00:00
Abderrazek Zaafrani
5a2583f026
[AArch64] Rename AArch64VecorByElementOpt.cpp into AArch64SIMDInstrOpt.cpp to reflect the recently added features.
...
The name change is dicsussed in https://reviews.llvm.org/D38196
llvm-svn: 320204
2017-12-08 22:04:13 +00:00