<div dir="ltr"><div>DAGCombiner can create loop in the DAG when you sext the result of a setcc, depending on the target.<br><br></div>This diff remove the call to DAG.getSExtOrTrunc that create the loop. This call used to be necessary for x86 backend, but it doesn't look necessary anymore. I've added tests to ensure it doesn't.<br><br><br></div>