commit | 4412d4b51f4d2e607cc09ad1ef00dc1d3489912f | [log] [tgz] |
---|---|---|
author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | Wed Jun 17 20:44:32 2015 +0000 |
committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | Wed Jun 17 20:44:32 2015 +0000 |
tree | 8a250bb21ba0e83ea3e6a3a0573b814c149aaf64 | |
parent | 6fc90b32e32b966b5ec27b8d923674193323c3a2 [diff] |
[CodeGenPrepare] Generalize inserted set from truncs to any inst. It's been used before to avoid infinite loops caused by separate CGP optimizations undoing one another. We found one more such issue caused by r238054. To avoid it, generalize the "InsertedTruncs" set to any inst, and use it to avoid touching those again. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@239938 91177308-0d34-0410-b5e6-96231b3b80d8