commit | e6fa7df85ce489cc40ab1cb8f6a9dd1e73bd188c | [log] [tgz] |
---|---|---|
author | Pierre Gousseau <pierregousseau14@gmail.com> | Thu Feb 09 14:43:58 2017 +0000 |
committer | Pierre Gousseau <pierregousseau14@gmail.com> | Thu Feb 09 14:43:58 2017 +0000 |
tree | d99cd66f4e5ea153cdcdded2421e9ff8b318db4d | |
parent | f67e18acad90819e40acf303315dead0e25fff69 [diff] |
[X86][btver2] PR31902: Fix a crash in combineOrCmpEqZeroToCtlzSrl under fast math. In combineOrCmpEqZeroToCtlzSrl, replace "getConstantOperand == 0" by "isNullConstant" to account for floating point constants. Differential Revision: https://reviews.llvm.org/D29756 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@294588 91177308-0d34-0410-b5e6-96231b3b80d8