[PATCH] Don't create illegal memset with address space >= 256 in memcpyopt.

Manuel Jacob me at manueljacob.de
Wed Jan 28 07:08:10 PST 2015

As Matt Arsenault pointed out on the mailing list, this assert <http://reviews.llvm.org/diffusion/L/browse/llvm/trunk/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp;227138$4800> is actually a bug and is implicitly assuming the X86 target.  A FIXME was added in http://reviews.llvm.org/rL227191.

I'm abandoning this revision because my assumption, based on that assert, that memset is supported iff the address space is < 256 turned out to be wrong.



More information about the llvm-commits mailing list