[LLVMbugs] [Bug 11998] New: SelectionDAG assertion: Mask size mismatches value type size
bugzilla-daemon at llvm.org
bugzilla-daemon at llvm.org
Tue Feb 14 04:08:44 PST 2012
http://llvm.org/bugs/show_bug.cgi?id=11998
Bug #: 11998
Summary: SelectionDAG assertion: Mask size mismatches value
type size
Product: libraries
Version: trunk
Platform: PC
OS/Version: Windows NT
Status: NEW
Severity: enhancement
Priority: P
Component: Common Code Generator Code
AssignedTo: unassignedbugs at nondot.org
ReportedBy: nadav.rotem at intel.com
CC: llvmbugs at cs.uiuc.edu
Classification: Unclassified
llc:
/nfs/iil/disks/cvcc/nrotem/llvm/llvm-head/llvm/lib/CodeGen/SelectionDAG/SelectionDAG.cpp:1635:
void llvm::SelectionDAG::ComputeMaskedBits(llvm::SDValue, const llvm::APInt&,
llvm::APInt&, llvm::APInt&, unsigned int) const: Assertion `BitWidth ==
Op.getValueType().getScalarType().getSizeInBits() && "Mask size mismatches
value type size!"' failed.
0 llc 0x000000000129f44f
1 llc 0x000000000129fa15
2 libpthread.so.0 0x00002aaaaabd4d60
3 libc.so.6 0x00002aaaab4abf45 gsignal + 53
4 libc.so.6 0x00002aaaab4ad340 abort + 272
5 libc.so.6 0x00002aaaab4a5486 __assert_fail + 246
6 llc 0x0000000000c70189
llvm::SelectionDAG::ComputeMaskedBits(llvm::SDValue, llvm::APInt const&,
llvm::APInt&, llvm::APInt&, unsigned int) const + 315
7 llc 0x0000000000c74853
llvm::SelectionDAG::MaskedValueIsZero(llvm::SDValue, llvm::APInt const&,
unsigned int) const + 103
8 llc 0x0000000000c17f80
9 llc 0x0000000000c3458b
10 llc 0x0000000000c34c86
11 llc 0x0000000000c377f9
12 llc 0x0000000000c37c1c
llvm::SelectionDAG::Combine(llvm::CombineLevel, llvm::AliasAnalysis&,
llvm::CodeGenOpt::Level) + 54
13 llc 0x0000000000ce3dcf
llvm::SelectionDAGISel::CodeGenAndEmitDAG() + 2915
14 llc 0x0000000000ce5a82
llvm::SelectionDAGISel::SelectBasicBlock(llvm::ilist_iterator<llvm::Instruction
const>, llvm::ilist_iterator<llvm::Instruction const>, bool&) + 230
15 llc 0x0000000000ce64ea
llvm::SelectionDAGISel::SelectAllBasicBlocks(llvm::Function const&) + 2662
16 llc 0x0000000000ce6aa4
llvm::SelectionDAGISel::runOnMachineFunction(llvm::MachineFunction&) + 902
17 llc 0x0000000000e47746
llvm::MachineFunctionPass::runOnFunction(llvm::Function&) + 82
18 llc 0x0000000001231ef6
llvm::FPPassManager::runOnFunction(llvm::Function&) + 366
19 llc 0x00000000012320f4
llvm::FPPassManager::runOnModule(llvm::Module&) + 86
20 llc 0x0000000001231ba7
llvm::MPPassManager::runOnModule(llvm::Module&) + 381
21 llc 0x0000000001233370 llvm::PassManagerImpl::run(llvm::Module&)
+ 116
22 llc 0x00000000012333d3 llvm::PassManager::run(llvm::Module&) +
33
23 llc 0x00000000007370d5 main + 3294
24 libc.so.6 0x00002aaaab499304 __libc_start_main + 244
25 llc 0x0000000000734b59
Stack dump:
0. Program arguments:
/nfs/iil/disks/cvcc/nrotem/llvm/llvm-head/build/Debug+Asserts/bin//llc temp.ll
-mcpu=corei7-avx -march=x86-64 -mattr=+avx -o /dev/null
1. Running pass 'Function Pass Manager' on module 'temp.ll'.
2. Running pass 'X86 DAG->DAG Instruction Selection' on function
'@autogen_51367_5000'
; ModuleID = 'bugpoint-reduced-simplified.bc'
target triple = "x86_64-unknown-linux-gnu"
define void @autogen_51367_5000(i8) {
BB:
%B = srem i8 55, %0
%B9 = shl i8 %B, %B
br label %CF
CF: ; preds = %CF, %BB
br i1 undef, label %CF, label %CF403
CF403: ; preds = %CF403, %CF
%S44 = icmp eq i8 %B9, %0
br i1 %S44, label %CF403, label %CF405
CF405: ; preds = %CF405, %CF403
br label %CF405
}
--
Configure bugmail: http://llvm.org/bugs/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
More information about the llvm-bugs
mailing list