[cfe-dev] [llvm-dev] Disable memset synthesis

Joerg Sonnenberger via cfe-dev cfe-dev at lists.llvm.org
Wed Aug 16 01:22:24 PDT 2017


On Tue, Aug 15, 2017 at 09:37:58PM -0700, Tim Northover via llvm-dev wrote:
> The best advice is to file a bug report about the situation you're
> seeing where a call to memset is bad for performance. There's clearly
> something going wrong with Clang's heuristics and the best solution is
> to fix that.

Do you mean clang or the backend? The discussion elsewhere about
disabling memcpy intrinsic forming already makes me suspect that some
targets don't handle those intrinsics well enough.

Joerg



More information about the cfe-dev mailing list