[llvm] [X86] Resolve FIXME: Create cld only when needed (PR #82415)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Fri Mar 29 13:21:56 PDT 2024


topperc wrote:

> @AtariDreams I don't know if I'm missing something, but shouldn't we emit cld for any string instruction, not just rep?

I don't think the X86 backend ever emits a string instruction without REP.

https://github.com/llvm/llvm-project/pull/82415


More information about the llvm-commits mailing list