[PATCH] D131947: [X86] Fix a lowering issue of mask.compress which has undef float passthrough Previously, LegaizeDAG didn't check mask.compress's passthrough might be float , and this lead to getConstant crash since it doesn't support fp.

Phoebe Wang via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Aug 16 01:30:41 PDT 2022


pengfei added inline comments.


================
Comment at: llvm/test/CodeGen/X86/compress-undef-float-passthrough.ll:26-29
+  unreachable
+
+ifmerge.80:                                       ; preds = %loop.50
+  unreachable
----------------
`unreachable` seems unnecessary.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D131947/new/

https://reviews.llvm.org/D131947



More information about the llvm-commits mailing list