================
@@ -8804,6 +8804,7 @@ SmallVector<SDValue, 4> static 
simplifyAssumingCCVal(SDValue &Val, SDValue &CC,
   default:
     return {};
   case ISD::Constant:
+  case ISD::CopyFromReg:
----------------
uweigand wrote:

This is not correct.  It will lead to complex subtrees potentially being built 
up with binary operations that cannot be simplified.  This whole routine is set 
up to only handle constant values.

https://github.com/llvm/llvm-project/pull/125970
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to