[llvm] r214449 - Make sure no loads resulting from load->switch DAGCombine are marked invariant

Juergen Ributzka juergen at apple.com
Thu Oct 30 14:20:13 PDT 2014


Hi Louis,

this change leads to misscompiles on AArch64 (but this should also apply to other architectures) by accidentally marking loads as invariant.

How is the alignment related to this? Copy-past-o?

Cheers,
Juergen


> On Jul 31, 2014, at 2:45 PM, Louis Gerbarg <lgg at apple.com> wrote:
> 
>  bool isInvariant = LLD->getAlignment() & RLD->getAlignment();

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141030/36b02fa1/attachment.html>


More information about the llvm-commits mailing list