diff options
author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2016-08-16 18:08:40 +0000 |
---|---|---|
committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2016-08-16 18:08:40 +0000 |
commit | 1d01a793042d3d0566b009915529ab4559ea72a9 (patch) | |
tree | 048b36895d67bfabfd6d9ba4248349b8a23805fc /llvm/lib/Target/Hexagon/HexagonConstPropagation.cpp | |
parent | 74309fa0143e59344dd0fbd0637117837b01da63 (diff) | |
download | bcm5719-llvm-1d01a793042d3d0566b009915529ab4559ea72a9.tar.gz bcm5719-llvm-1d01a793042d3d0566b009915529ab4559ea72a9.zip |
[Hexagon] Standardize next batch of pseudo instructions
ALIGNA PS_aligna
ALLOCA PS_alloca
TFR_FI PS_fi
TFR_FIA PS_fia
TFR_PdFalse PS_false
TFR_PdTrue PS_true
VMULW PS_vmulw
VMULW_ACC PS_vmulw_acc
llvm-svn: 278832
Diffstat (limited to 'llvm/lib/Target/Hexagon/HexagonConstPropagation.cpp')
-rw-r--r-- | llvm/lib/Target/Hexagon/HexagonConstPropagation.cpp | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/llvm/lib/Target/Hexagon/HexagonConstPropagation.cpp b/llvm/lib/Target/Hexagon/HexagonConstPropagation.cpp index c4a0a62e043..b4752135641 100644 --- a/llvm/lib/Target/Hexagon/HexagonConstPropagation.cpp +++ b/llvm/lib/Target/Hexagon/HexagonConstPropagation.cpp @@ -1994,11 +1994,11 @@ bool HexagonConstEvaluator::evaluate(const MachineInstr &MI, break; } - case Hexagon::TFR_PdTrue: - case Hexagon::TFR_PdFalse: + case Hexagon::PS_true: + case Hexagon::PS_false: { LatticeCell RC = Outputs.get(DefR.Reg); - bool NonZero = (Opc == Hexagon::TFR_PdTrue); + bool NonZero = (Opc == Hexagon::PS_true); uint32_t P = NonZero ? ConstantProperties::NonZero : ConstantProperties::Zero; RC.add(P); @@ -2328,8 +2328,8 @@ bool HexagonConstEvaluator::rewrite(MachineInstr &MI, const CellMap &Inputs) { case Hexagon::A2_tfrpi: case Hexagon::CONST32: case Hexagon::CONST64: - case Hexagon::TFR_PdTrue: - case Hexagon::TFR_PdFalse: + case Hexagon::PS_true: + case Hexagon::PS_false: return false; } @@ -2874,8 +2874,8 @@ bool HexagonConstEvaluator::rewriteHexConstDefs(MachineInstr &MI, if (RC != PredRC) continue; const MCInstrDesc *NewD = (Ps & P::Zero) ? - &HII.get(Hexagon::TFR_PdFalse) : - &HII.get(Hexagon::TFR_PdTrue); + &HII.get(Hexagon::PS_false) : + &HII.get(Hexagon::PS_true); unsigned NewR = MRI->createVirtualRegister(PredRC); const MachineInstrBuilder &MIB = BuildMI(B, At, DL, *NewD, NewR); (void)MIB; |