Also fix an alignment bug getMachineMemOperand. If the
tracked value is null, the offset isn't tracked so the
base alignment needs to be reduced.
Details
Details
Diff Detail
Diff Detail
Event Timeline
lib/CodeGen/GlobalISel/LegalizerHelper.cpp | ||
---|---|---|
501–502 | I assume that MMO.getAAInfo(), MMO.getRanges(), etc are automatically handled by the call to getMachineMemOperand in copyWithSizeAndOffset? Or are they no longer relevant? |
Comment Actions
It turns out this already exists, just in MachineFunction. It does require fixing a bug in how alignment is handled when there's no base value
Comment Actions
r352716
lib/CodeGen/GlobalISel/LegalizerHelper.cpp | ||
---|---|---|
501–502 | It turns out this already exists, it's just in MachineFunction instead of MMO |
I assume that MMO.getAAInfo(), MMO.getRanges(), etc are automatically handled by the call to getMachineMemOperand in copyWithSizeAndOffset? Or are they no longer relevant?