Open ilmaria opened 4 years ago
zig: /home/alexrp/Source/llvm-project-18/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:8510: llvm::SDValue llvm::SelectionDAG::getLoad(llvm::ISD::MemIndexedMode, llvm::ISD::LoadExtType, llvm::EVT, const llvm::SDLoc&, llvm::SDValue, llvm::SDValue, llvm::SDValue, llvm::EVT, llvm::MachineMemOperand*): Assertion `MemVT.getScalarType().bitsLT(VT.getScalarType()) && "Should only be an extending load, not truncating!"' failed.
I get
Should not custom lower this!
UNREACHABLE executed at /home/david/Code/llvm-project/llvm/lib/Target/X86/X86ISelLowering.cpp:32347
on 0.14.0-dev.1632+d83a3f174
I'm trying to use soft floats on a freestanding x86 target with this build.zig:
On Windows, it fails to build with error code 5: