commit | dce5fb2295d1e5611d77f35397c4becbd13481a7 | [log] [tgz] |
---|---|---|
author | Anna Thomas <anna@azul.com> | Thu Jun 23 20:22:22 2016 +0000 |
committer | Anna Thomas <anna@azul.com> | Thu Jun 23 20:22:22 2016 +0000 |
tree | 2ee9a6f51840e7fa86cdf026dbe926e260c0da22 | |
parent | dfb588ccfc0865bb7679ad21a3b431998b119cfd [diff] |
InstCombine rule to fold trunc when value available Summary: This instcombine rule folds away trunc operations that have value available from a prior load or store. This kind of code can be generated as a result of GVN widening the load or from source code as well. Reviewers: reames, majnemer, sanjoy Subscribers: llvm-commits Differential Revision: http://reviews.llvm.org/D21246 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@273608 91177308-0d34-0410-b5e6-96231b3b80d8