This is an archive of the discontinued LLVM Phabricator instance.

[X86] Fix a crash issue after D147243
AbandonedPublic

Authored by pengfei on Apr 6 2023, 1:25 AM.

Details

Summary

FCMP may use ISD::SETNE when nnan.

Diff Detail

Event Timeline

pengfei created this revision.Apr 6 2023, 1:25 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 6 2023, 1:25 AM
Herald added a subscriber: hiraditya. · View Herald Transcript
pengfei requested review of this revision.Apr 6 2023, 1:25 AM
Herald added a project: Restricted Project. · View Herald TranscriptApr 6 2023, 1:25 AM
pengfei updated this revision to Diff 511326.Apr 6 2023, 1:55 AM

Include quick fix for issue reported on D147243 too.

Thanks for the test case but we're probably better off not allowing fcmp at all - I'll adjust LowerVectorAllEqual to bail out

pengfei abandoned this revision.Apr 6 2023, 6:16 AM

Thanks for the test case but we're probably better off not allowing fcmp at all - I'll adjust LowerVectorAllEqual to bail out

Thanks for the fix!