[PATCH] D21246: [InstCombine] Add rule to fold away trunc of partial load
Anna Thomas via llvm-commits
llvm-commits at lists.llvm.org
Fri Jun 10 15:18:58 PDT 2016
anna added a comment.
The current rule gets the lower byte in an LE machine. We could also add rules where we get the upper half of the load (would require a different pattern match in visitTrunc and pass in the offset to `FindAvailableLoadedValue`).
Repository:
rL LLVM
http://reviews.llvm.org/D21246
More information about the llvm-commits
mailing list