forked from OSchip/llvm-project
[Hexagon] s/Fatal/ReportErrors/
Rename argument from 'Fatal' => 'ReportErrors'. HexagonShuffler refers to this arg as 'ReportErrors' and calling it 'Fatal' in HexagonMCShuffler is misleading and inconsistent.
This commit is contained in:
parent
5001c7cc9d
commit
9af53d2f0c
|
@ -100,10 +100,10 @@ bool HexagonMCShuffler::reshuffleTo(MCInst &MCB) {
|
|||
return false;
|
||||
}
|
||||
|
||||
bool llvm::HexagonMCShuffle(MCContext &Context, bool Fatal,
|
||||
bool llvm::HexagonMCShuffle(MCContext &Context, bool ReportErrors,
|
||||
MCInstrInfo const &MCII, MCSubtargetInfo const &STI,
|
||||
MCInst &MCB) {
|
||||
HexagonMCShuffler MCS(Context, Fatal, MCII, STI, MCB);
|
||||
HexagonMCShuffler MCS(Context, ReportErrors, MCII, STI, MCB);
|
||||
|
||||
if (DisableShuffle)
|
||||
// Ignore if user chose so.
|
||||
|
|
|
@ -28,16 +28,17 @@ class MCSubtargetInfo;
|
|||
// Insn bundle shuffler.
|
||||
class HexagonMCShuffler : public HexagonShuffler {
|
||||
public:
|
||||
HexagonMCShuffler(MCContext &Context, bool Fatal, MCInstrInfo const &MCII,
|
||||
MCSubtargetInfo const &STI, MCInst &MCB)
|
||||
: HexagonShuffler(Context, Fatal, MCII, STI) {
|
||||
HexagonMCShuffler(MCContext &Context, bool ReportErrors,
|
||||
MCInstrInfo const &MCII, MCSubtargetInfo const &STI,
|
||||
MCInst &MCB)
|
||||
: HexagonShuffler(Context, ReportErrors, MCII, STI) {
|
||||
init(MCB);
|
||||
}
|
||||
|
||||
HexagonMCShuffler(MCContext &Context, bool Fatal, MCInstrInfo const &MCII,
|
||||
MCSubtargetInfo const &STI, MCInst &MCB,
|
||||
MCInst const &AddMI, bool InsertAtFront)
|
||||
: HexagonShuffler(Context, Fatal, MCII, STI) {
|
||||
HexagonMCShuffler(MCContext &Context, bool ReportErrors,
|
||||
MCInstrInfo const &MCII, MCSubtargetInfo const &STI,
|
||||
MCInst &MCB, MCInst const &AddMI, bool InsertAtFront)
|
||||
: HexagonShuffler(Context, ReportErrors, MCII, STI) {
|
||||
init(MCB, AddMI, InsertAtFront);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue