[llvm-dev] RFC: System (cache, etc.) model for LLVM

Michael Kruse via llvm-dev llvm-dev at lists.llvm.org
Tue Nov 20 16:11:30 PST 2018


After the discussion, are you going to upload a patch review?

Michael

Am Di., 13. Nov. 2018 um 10:03 Uhr schrieb David Greene <dag at cray.com>:
>
> Michael Kruse via llvm-dev <llvm-dev at lists.llvm.org> writes:
>
> >> I like the idea of abstracting the hardware resource for the compiler's
> >> needs, though I think we will in general want multiple such things.
> >> Maybe one for load and one for store to start?  For more harware-y
> >> things like llvm-mca more detail may be desired.
> >
> > Your RFC already has getNumStoreBuffers, getNumLoadBuffers and
> > getNumLoadStoreBuffers, no? As far I understand, write-combining only
> > applies to getNumStoreBuffers(). Prefetch streams would limit
> > getNumLoadBuffers.
>
> Yeah, that could work.  I added the load buffer stuff to future-proof
> things for architectures that might have actual separate buffers for NT
> loads but I'm not aware of any that do so I'm fine repurposing it for
> something else.
>
>                                -David


More information about the llvm-dev mailing list