[LLVMbugs] [Bug 3775] New: GVN Asserts on Attached Code

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Tue Mar 10 07:50:46 PDT 2009


http://llvm.org/bugs/show_bug.cgi?id=3775

           Summary: GVN Asserts on Attached Code
           Product: libraries
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Scalar Optimizations
        AssignedTo: criswell at uiuc.edu
        ReportedBy: criswell at uiuc.edu
                CC: llvmbugs at cs.uiuc.edu


Created an attachment (id=2696)
 --> (http://llvm.org/bugs/attachment.cgi?id=2696)
Reduced test case from 254.gap.

The GVN pass attempts to set the name of a CallInst that has type void.  It
hits the following assertion:

/home/vadve/criswell/src/llvm22/lib/VMCore/Value.cpp:175: void
llvm::Value::setName(const char*, unsigned int): Assertion `getType() !=
Type::VoidTy && "Cannot assign a name to void values!"' failed.
0   bugpoint  0x087de3eb
1   bugpoint  0x087de94f
2   libc.so.6 0x0093b918
3   libc.so.6 0x0093d289 abort + 233
4   libc.so.6 0x00934da1 __assert_fail + 257
5   bugpoint  0x08781478 llvm::Value::setName(char const*, unsigned int) + 164
6   bugpoint  0x08781870 llvm::Value::setName(std::string const&) + 70
7   bugpoint  0x084baa7e
8   bugpoint  0x084bf9bb
9   bugpoint  0x0875e26a llvm::FPPassManager::runOnFunction(llvm::Function&) +
296
10  bugpoint  0x0875e42a llvm::FPPassManager::runOnModule(llvm::Module&) + 122
11  bugpoint  0x0875cbdb llvm::MPPassManager::runOnModule(llvm::Module&) + 243
12  bugpoint  0x0875e726 llvm::PassManagerImpl::run(llvm::Module&) + 124
13  bugpoint  0x0875e78b llvm::PassManager::run(llvm::Module&) + 39
14  bugpoint  0x083e6e0a
llvm::BugDriver::runPassesAsChild(std::vector<llvm::PassInfo const*,
std::allocator<llvm::PassInfo const*> > const&) + 616
15  bugpoint  0x083b6bc6 llvm::BugDriver::run() + 52
16  bugpoint  0x083f159e main + 384
17  libc.so.6 0x00928df3 __libc_start_main + 211
18  bugpoint  0x083b6441 __gxx_personality_v0 + 325


-- 
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