[LLVMdev] Why does x86 fast-isel reject unaligned stores?

Chris Lattner clattner at apple.com
Wed Apr 17 11:20:07 PDT 2013


On Apr 17, 2013, at 11:16 AM, Jim Stichnoth <stichnot at google.com> wrote:

> In X86FastISel::X86SelectStore(), improperly aligned stores are rejected and handled by the DAG-based ISel.  However, X86FastISel::X86SelectLoad() makes no such requirement.  Is there a reason for this alignment restriction on stores?

No idea.

>  Would it be reasonable to remove it?

Yes!

-Chris




More information about the llvm-dev mailing list