[PATCH] [RFC] __builtin___clear_cache support in LLVM

Renato Golin renato.golin at linaro.org
Tue Mar 18 04:58:11 PDT 2014

  Thanks Daniel,

  Very useful descriptions of the use cases! I'm guessing the system call will deal with the L1/L2 issues on a per-architecture basis using the range as input, since the compiler can't guess what that layout will be.

  Is it the consensus that we should introduce the intrinsic? We won't be doing many optimizations right now, but having the intrinsic would make it easier to do them.

  If so, I'll update LangRef and commit. Next step, implement the bultin-to-intrinsic mapping in Clang. ;)



More information about the llvm-commits mailing list