Skip to content

Commit dc6a5e0

Browse files
committed
[VE] Fix allowsMisalignedMemoryAccesses after D96097
1 parent 68d6918 commit dc6a5e0

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

llvm/lib/Target/VE/VEISelLowering.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ bool VETargetLowering::isFPImmLegal(const APFloat &Imm, EVT VT,
837837
/// alignment error (trap) on the target machine.
838838
bool VETargetLowering::allowsMisalignedMemoryAccesses(EVT VT,
839839
unsigned AddrSpace,
840-
unsigned Align,
840+
Align A,
841841
MachineMemOperand::Flags,
842842
bool *Fast) const {
843843
if (Fast) {

llvm/lib/Target/VE/VEISelLowering.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ class VETargetLowering : public TargetLowering {
183183
bool ForCodeSize) const override;
184184
/// Returns true if the target allows unaligned memory accesses of the
185185
/// specified type.
186-
bool allowsMisalignedMemoryAccesses(EVT VT, unsigned AS, unsigned Align,
186+
bool allowsMisalignedMemoryAccesses(EVT VT, unsigned AS, Align A,
187187
MachineMemOperand::Flags Flags,
188188
bool *Fast) const override;
189189

0 commit comments

Comments
 (0)