RegAllocFast assertion in trunk...

Any ideas?

Instruction uses an alias of an allocated register
UNREACHABLE executed at RegAllocFast.cpp:358!
0 clang 0x0000000101309bc2 PrintStackTrace(void*) + 34
1 clang 0x000000010130a863 SignalHandler(int) + 707
2 libSystem.B.dylib 0x00007fff8056935a _sigtramp + 26
3 libSystem.B.dylib 000000000000000000 _sigtramp + 2141809856
4 clang 0x00000001012dd96d llvm::llvm_unreachable_internal(char const*, char const*, unsigned int) + 381
5 clang 0x0000000100ee6b70 (anonymous namespace)::RAFast::usePhysReg(llvm::MachineOperand&) + 208
6 clang 0x0000000100eebb62 (anonymous namespace)::RAFast::AllocateBasicBlock() + 2290
7 clang 0x0000000100eedf20 (anonymous namespace)::RAFast::runOnMachineFunction(llvm::MachineFunction&) + 480
8 clang 0x0000000100e9677e llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 94
9 clang 0x0000000101246d50 llvm::FPPassManager::runOnFunction(llvm::Function&) + 688
10 clang 0x0000000101247012 llvm::FunctionPassManagerImpl::run(llvm::Function&) + 146
11 clang 0x00000001012473ec llvm::FunctionPassManager::run(llvm::Function&) + 236
12 clang 0x000000010014e345 clang::EmitBackendOutput(clang::Diagnostic&, clang::CodeGenOptions const&, clang::TargetOptions const&, llvm::Module*, clang::BackendAction, llvm::raw_ostream*) + 1397
13 clang 0x00000001002641ce (anonymous namespace)::BackendConsumer::HandleTranslationUnit(clang::ASTContext&) + 286
14 clang 0x00000001002a87d0 clang::ParseAST(clang::Preprocessor&, clang::ASTConsumer*, clang::ASTContext&, bool, bool, clang::CodeCompleteConsumer*) + 832
15 clang 0x0000000100264d7c clang::CodeGenAction::ExecuteAction() + 60
16 clang 0x000000010004e3e9 clang::CompilerInstance::ExecuteAction(clang::FrontendAction&) + 393
17 clang 0x000000010001eef5 cc1_main(char const**, char const**, char const*, void*) + 2949
18 clang 0x0000000100025c24 main + 4740
19 clang 0x000000010001d048 start + 52

Cameron Esfahani
dirty@apple.com

"It is the spirit and not the form of law that keeps justice alive."

Earl Warren

http://llvm.org/docs/HowToSubmitABug.html ?

-Eli