[llvm-dev] Disable memset synthesis

Joerg Sonnenberger via llvm-dev
Wed, 16 Aug 2017 08:22:24 -0000

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