[all-commits] [llvm/llvm-project] 527e45: [X86] Add HasCLFLUSH pseudo-predicate (Issue #19039)
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Thu Dec 8 05:51:32 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 527e453a5bf9e1ab1504199c1b71539b34f25f50
https://github.com/llvm/llvm-project/commit/527e453a5bf9e1ab1504199c1b71539b34f25f50
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2022-12-08 (Thu, 08 Dec 2022)
Changed paths:
M llvm/lib/Target/X86/X86InstrInfo.td
M llvm/lib/Target/X86/X86InstrSSE.td
M llvm/lib/Target/X86/X86Subtarget.h
A llvm/test/CodeGen/X86/clflush.ll
Log Message:
-----------
[X86] Add HasCLFLUSH pseudo-predicate (Issue #19039)
Similar to what we've done for HasMFence - this puts into place a pseudo-predicate for CLFLUSH instructions that separates it from HasSSE2 to make it easier to use CLFLUSH even when SSE/fpmath has been disabled - technically CLFLUSH has its own CPUID bit, so could be available on x86 cores entirely without SSE, but I don't think thats ever happened or likely to happen.
More information about the All-commits
mailing list