LLVM Bugzilla is read-only and represents the historical archive of all LLVM issues filled before November 26, 2021. Use github to submit LLVM bugs

Bug 1316 - Unsupported operator after Inline Asm Change
Summary: Unsupported operator after Inline Asm Change
Status: RESOLVED FIXED
Alias: None
Product: libraries
Classification: Unclassified
Component: Common Code Generator Code (show other bugs)
Version: trunk
Hardware: PC Linux
: P normal
Assignee: Unassigned LLVM Bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-04-08 18:56 PDT by Reid Spencer
Modified: 2010-02-22 12:43 PST (History)
1 user (show)

See Also:
Fixed By Commit(s):


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Reid Spencer 2007-04-08 18:56:47 PDT
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
Comment 1 Chris Lattner 2007-04-08 19:34:52 PDT
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