[llvm-commits] [PATCH] [msan] Heuristic handling on unknown intrinsics

Evgeniy Stepanov eugenis at google.com
Thu Dec 6 06:55:23 PST 2012


  I did some research on intrinsics on various platforms. It does not look like we can cover them all with a few patterns. For example, simple store intrinsics on PowerPC have unusual argument order (vector, pointer) instead of (pointer, vector). There is a lot of intrinsics with several vector arguments (ex. SSE maskstored (pointer, vector, vector) that seem to be handled by this approach just fine. ARM has intrinsics with multiple pointer arguments (ex. neon_vld2lane - 3 pointers, 2 integers, and returns 2 vectors).

  It seems like handling each argument pattern separately will result in lots of code duplication, and will not make it much simpler.

http://llvm-reviews.chandlerc.com/D184



More information about the llvm-commits mailing list