[PATCH] D38771: [x86] avoid infinite loop from SoftenFloatOperand (PR34866)
Simon Pilgrim via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Wed Oct 11 03:46:31 PDT 2017
RKSimon added inline comments.
================
Comment at: lib/Target/X86/X86ISelLowering.cpp:35229
+ (Y.getOpcode() == ISD::BITCAST &&
+ Y.getOperand(0).getValueType() == MVT::f128))
+ return SDValue();
----------------
Does this work?
```
if (peekThroughBitcasts(X).getValueType() == MVT::f128) ||
peekThroughBitcasts(Y).getValueType() == MVT::f128))
```
https://reviews.llvm.org/D38771
More information about the llvm-commits
mailing list