commit | fa51c2fe420493a9b4f6be429b273f0b4bd1e6cb | [log] [tgz] |
---|---|---|
author | Ahmed Bougacha <ahmed.bougacha@gmail.com> | Tue Apr 12 18:15:39 2016 +0000 |
committer | Ahmed Bougacha <ahmed.bougacha@gmail.com> | Tue Apr 12 18:15:39 2016 +0000 |
tree | bd7b7062b75d5db77fcfc81c43ce2d54fbcb6885 | |
parent | 5e99fa6feee87b9ef05525849b5daced20edfdd4 [diff] |
[CodeGen] Remove constant-folding dead code. NFC. This code was specific to vector operations with scalar operands: all the opcodes in FoldValue (via FoldConstantArithmetic) can't match those criteria. Replace it with an assert if that ever changes: at that point, we might need to add back a splat BUILD_VECTOR. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@266100 91177308-0d34-0410-b5e6-96231b3b80d8