[PATCH] [x86] Fold extract_vector_elt of a load into the load's address computation.

Quentin Colombet qcolombet at apple.com
Tue Apr 15 18:10:50 PDT 2014


  Hi Michael,

  DAGCombiner has a load slicing mechanism what tries to produce target friendly loads. Maybe we could extend this mechanism to handle this kind of cases.
  Do not know how easy that would be, but that seems to me like the natural place to start :).

  You can take a look at DAGCombiner::SliceUpLoad.

  Thanks,
  -Quentin

http://reviews.llvm.org/D3375






More information about the llvm-commits mailing list