commit | cd6566ea72c61483c1ef2d2dc8b87a5da370f0b4 | [log] [tgz] |
---|---|---|
author | Nikita Popov <nikita.ppv@gmail.com> | Tue Feb 19 17:37:55 2019 +0000 |
committer | Nikita Popov <nikita.ppv@gmail.com> | Tue Feb 19 17:37:55 2019 +0000 |
tree | e511fcf452d8b3e295c72a838be474256b8deffb | |
parent | 3e38505d0613c6d284201665f018135a643b5f8d [diff] |
[SDAG] Use shift amount type in MULO promotion; NFC Directly use the correct shift amount type if it is possible, and future-proof the code against vectors. The added test makes sure that bitwidths that do not fit into the shift amount type do not assert. Split out from D57997. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@354359 91177308-0d34-0410-b5e6-96231b3b80d8