[llvm] [LLVM] Slay undead copysign code (PR #111269)

Craig Topper via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 5 20:42:58 PDT 2024


================
@@ -203,7 +205,9 @@ static void ReplaceFPIntrinsicWithCall(CallInst *CI, const char *Fname,
                                        const char *Dname,
                                        const char *LDname) {
   switch (CI->getArgOperand(0)->getType()->getTypeID()) {
-  default: llvm_unreachable("Invalid type in intrinsic");
+  default:
+    assert(false && "Invalid type in intrinsic");
----------------
topperc wrote:

Seems unrelated?

https://github.com/llvm/llvm-project/pull/111269


More information about the llvm-commits mailing list