diff options
author | Pierre Gousseau <pierregousseau14@gmail.com> | 2017-02-09 14:43:58 +0000 |
---|---|---|
committer | Pierre Gousseau <pierregousseau14@gmail.com> | 2017-02-09 14:43:58 +0000 |
commit | 6953b324750de9978e7c9d1d50c269a12fb38cc1 (patch) | |
tree | 1b8dbefff5e00bf8a374d4d5adedf97b812c25a7 /llvm/lib/MC/ELFObjectWriter.cpp | |
parent | 05ac1f70bec3114e40854c9f5dd66ebdcf3182d0 (diff) | |
download | bcm5719-llvm-6953b324750de9978e7c9d1d50c269a12fb38cc1.tar.gz bcm5719-llvm-6953b324750de9978e7c9d1d50c269a12fb38cc1.zip |
[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
llvm-svn: 294588
Diffstat (limited to 'llvm/lib/MC/ELFObjectWriter.cpp')
0 files changed, 0 insertions, 0 deletions