1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

[VE] Fix allowsMisalignedMemoryAccesses after D96097

This commit is contained in:
Fangrui Song 2021-02-04 20:46:18 -08:00
parent 1c762d7312
commit 01de7047c8
2 changed files with 2 additions and 2 deletions

View File

@ -837,7 +837,7 @@ bool VETargetLowering::isFPImmLegal(const APFloat &Imm, EVT VT,
/// alignment error (trap) on the target machine.
bool VETargetLowering::allowsMisalignedMemoryAccesses(EVT VT,
unsigned AddrSpace,
unsigned Align,
Align A,
MachineMemOperand::Flags,
bool *Fast) const {
if (Fast) {

View File

@ -183,7 +183,7 @@ public:
bool ForCodeSize) const override;
/// Returns true if the target allows unaligned memory accesses of the
/// specified type.
bool allowsMisalignedMemoryAccesses(EVT VT, unsigned AS, unsigned Align,
bool allowsMisalignedMemoryAccesses(EVT VT, unsigned AS, Align A,
MachineMemOperand::Flags Flags,
bool *Fast) const override;