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

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


================
@@ -58,7 +58,9 @@ static Value *LowerBSWAP(LLVMContext &Context, Value *V, Instruction *IP) {
   IRBuilder<> Builder(IP);
 
   switch(BitSize) {
-  default: llvm_unreachable("Unhandled type size of value to byteswap!");
+  default:
+    assert(false && "Unhandled type size of value to byteswap!");
----------------
topperc wrote:

Seems unrelated?

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


More information about the llvm-commits mailing list