Skip to content

"Instruction does not dominate all uses!" #3457

@llvmbot

Description

@llvmbot
Bugzilla Link 3085
Resolution WORKSFORME
Resolved on Apr 22, 2009 05:11
Version 2.4
OS Linux
Attachments Test case
Reporter LLVM Bugzilla Contributor
CC @asl,@nlewycky

Extended Description

Running

opt bugpoint-reduced-simplified.bc -loop-extract-single -loop-rotate -loop-reduce -argpromotion"

on the attached file causes the error message "Instruction does not dominate all uses!". Platform is amd64:

$ opt bugpoint-reduced-simplified.bc -loop-extract-single -loop-rotate -loop-reduce -argpromotion
Instruction does not dominate all uses!
%lcollect.i.i.i.2 = phi i32 [ %lcollect.i.i.i.1, %bb60.i.i.i ] ; [#uses=2]
%tmp29 = sub i32 0, %lcollect.i.i.i.2 ; [#uses=1]
Instruction does not dominate all uses!
%tmp29 = sub i32 0, %lcollect.i.i.i.2 ; [#uses=1]
%tmp30 = add i32 %tmp29, 1 ; [#uses=1]
Instruction does not dominate all uses!
%tmp30 = add i32 %tmp29, 1 ; [#uses=1]
%tmp31 = lshr i32 %tmp30, 1 ; [#uses=1]
Instruction does not dominate all uses!
%tmp31 = lshr i32 %tmp30, 1 ; [#uses=1]
%tmp32 = add i32 %tmp31, 1 ; [#uses=1]
Broken module found, compilation aborted!
opt[0x7603af]
/lib/libc.so.6[0x7fce6afdaf60]
/lib/libc.so.6(gsignal+0x35)[0x7fce6afdaed5]
/lib/libc.so.6(abort+0x183)[0x7fce6afdc3f3]
opt[0x7232f0]
opt(_ZN4llvm13FPPassManager13runOnFunctionERNS_8FunctionE+0x15b)[0x6ff8ab]
opt[0x613ef0]
opt(_ZN4llvm13MPPassManager11runOnModuleERNS_6ModuleE+0xd0)[0x6ff3d0]
opt(_ZN4llvm15PassManagerImpl3runERNS_6ModuleE+0x86)[0x6ff686]
opt(main+0xa5f)[0x49035f]
/lib/libc.so.6(__libc_start_main+0xe6)[0x7fce6afc71a6]
opt(sinh+0x39)[0x485379]
Aborted

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugzillaIssues migrated from bugzillaloopoptimworksformeResolved as "works for me"

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions