commit | 7ff25f5145f37ff504fa008bcea357def7fb1996 | [log] [tgz] |
---|---|---|
author | Artur Pilipenko <apilipenko@azulsystems.com> | Sat Apr 22 07:24:52 2017 +0000 |
committer | Artur Pilipenko <apilipenko@azulsystems.com> | Sat Apr 22 07:24:52 2017 +0000 |
tree | 5aa5b6c4d21de1d6cb1afbab948e370a644c533c | |
parent | b75bb044ee59f4f00de86ab3306c975c2c16ef17 [diff] |
Fix for PR32740 - Invalid floating type, unreachable between r300969 and r301029 The bug was introduced by r301018 "[InstCombine] fadd double (sitofp x), y check that the promotion is valid". The patch didn't expect that fadd can be on vectors not necessarily scalars. Add vector support along with the test. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@301070 91177308-0d34-0410-b5e6-96231b3b80d8