Immediately after Chris' change to inline asm to fix bug 1314, this one started failing: FAIL: /proj/llvm/llvm-4/test/CodeGen/Alpha/2006-07-03-ASMFormalLowering.ll: child process exited abnormally NODE: 0x8e7f418: i32 = TargetConstant <10> llc: LegalizeDAG.cpp:3178: llvm::SDOperand<unnamed>::SelectionDAGLegalize::PromoteOp(llvm::SDOperand): Assertion `0 && "Do not know how to promote this operator!"' failed. .arch ev6 .set noat llc((anonymous namespace)::PrintStackTrace()+0x1a)[0x88d235e] llc((anonymous namespace)::SignalHandler(int)+0x110)[0x88d2686] [0x7ac420] /lib/libc.so.6(abort+0x101)[0x3234f1] /lib/libc.so.6(__assert_fail+0xfd)[0x31b859] llc[0x86a9792] llc[0x86b6f95] llc[0x86b757f] llc(llvm::SelectionDAG::Legalize()+0x41)[0x86b76d1] llc(llvm::SelectionDAGISel::CodeGenAndEmitDAG(llvm::SelectionDAG&)+0x91)[0x8650b41] llc(llvm::SelectionDAGISel::SelectBasicBlock(llvm::BasicBlock*, llvm::MachineFunction&, llvm::FunctionLoweringInfo&)+0xad)[0x8664e51] llc(llvm::SelectionDAGISel::runOnFunction(llvm::Function&)+0x11f)[0x8665adf] llc(llvm::FPPassManager::runOnFunction(llvm::Function&)+0x13a)[0x885fe7a] llc(llvm::FunctionPassManagerImpl::run(llvm::Function&)+0x6e)[0x88600fe] llc(llvm::FunctionPassManager::run(llvm::Function&)+0x88)[0x88601c0] llc(main+0xbd6)[0x83b504e] /lib/libc.so.6(__libc_start_main+0xdc)[0x30f4e4] llc(__gxx_personality_v0+0x171)[0x83b3b41] Output/2006-07-03-ASMFormalLowering.ll.out.script: line 1: 28544 Done llvm-upgrade </proj/llvm/llvm-4/test/CodeGen/Alpha/2006-07-03-ASMFormalLowering.ll 28545 | llvm-as 28546 Aborted | llc -march=alpha
Fixed: http://lists.cs.uiuc.edu/pipermail/llvm-commits/Week-of-Mon-20070402/047032.html This also fixes another lurking alpha inline asm bug with memory operands. Thanks, -Chris