llvm-project/llvm/test/DebugInfo/AArch64
Jay Foad 719bac55df [MIRParser] Diagnose too large align values in MachineMemOperands
When parsing MachineMemOperands, MIRParser treated the "align" keyword
the same as "basealign". Really "basealign" should specify the
alignment of the MachinePointerInfo base value, and "align" should
specify the alignment of that base value plus the offset.

This worked OK when the specified alignment was no larger than the
alignment of the offset, but in cases like this it just caused
confusion:

    STW killed %18, 4, %stack.1.ap2.i.i :: (store (s32) into %stack.1.ap2.i.i + 4, align 8)

MIRPrinter would never have printed this, with an offset of 4 but an
align of 8, so it must have been written by hand. MIRParser would
interpret "align 8" as "basealign 8", but I think it is better to give
an error and force the user to write "basealign 8" if that is what they
really meant.

Differential Revision: https://reviews.llvm.org/D120400

Change-Id: I7eeeefc55c2df3554ba8d89f8809a2f45ada32d8
2022-02-24 15:32:08 +00:00
..
asan-stack-vars.mir [MIRParser] Diagnose too large align values in MachineMemOperands 2022-02-24 15:32:08 +00:00
big-endian-dump.ll
big-endian.ll
bitfields.ll
call-site-info-output.ll
cfi-eof-prologue.ll
coalescing.ll
compiler-gen-bbs-livedebugvalues.mir
constant-dbgloc.ll
dagcombine-zext.ll
dbg-sve-types.ll
dbg-value-i8.ll
dbg-value-i16.ll
dbgcall-site-float-entry-value.ll
debugline-endsequence.ll [DebugInfo] Fix Test Targets in D108261 2021-11-14 21:36:12 -08:00
dwarfdump.ll
eh-frame.ll
eh_frame.s
eh_frame_personality.ll
fallthrough-branch.ll GlobalISel/AArch64: don't optimize away redundant branches at -O0 2021-07-29 16:04:22 -07:00
frame-loclistx.s
frameindices.ll
inlined-argument.ll
instr-ref-const-physreg.ll [InstrRef][AArch64][1/4] Accept constant physreg variable locations 2021-07-26 15:26:15 +01:00
ir-outliner.ll
line-header.ll
lit.local.cfg
little-endian-dump.ll
machine-outliner.ll
pr40709.ll
processes-relocations.ll
prologue_end.ll
return-address-signing.ll
struct_by_value.ll
tls-at-location.ll