[llvm] [X86] Resolve FIXME: Create cld only when needed (PR #82415)
via llvm-commits
llvm-commits at lists.llvm.org
Sun Feb 25 10:22:03 PST 2024
AtariDreams wrote:
> Based off #60527 - should we be also detecting use of `std` for a case to add `cld` at function exit? Or can we just rely on the InlineAsm case for now as I think that's the only way that std can occur (in which we should probably explicitly mention std instructions there)?
I think we should rely on inline asm for now. Though, I am not aware that the compiler cannot emit an std instruction, right?
https://github.com/llvm/llvm-project/pull/82415
More information about the llvm-commits
mailing list