Why does x86 fast-isel reject unaligned stores?

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? Would it be reasonable to remove it?

Jim

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