[LLVMbugs] [Bug 5026] New: Don't know how to fold this instruction!

bugzilla-daemon at cs.uiuc.edu bugzilla-daemon at cs.uiuc.edu
Mon Sep 21 19:48:40 PDT 2009


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

           Summary: Don't know how to fold this instruction!
           Product: new-bugs
           Version: trunk
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: new bugs
        AssignedTo: unassignedbugs at nondot.org
        ReportedBy: regehr at cs.utah.edu
                CC: llvmbugs at cs.uiuc.edu


Seen on Ubuntu Jaunty on x86.

regehr at john-home:~/volatile/tmp198$ clang -O1 small.c
Don't know how to fold this instruction!
UNREACHABLE executed at X86InstrInfo.cpp:2313!
0   clang-cc 0x09025c68
Stack dump:
0.      Program arguments:
/home/regehr/z/tmp/llvm-gcc-r82487-install/bin/../libexec/clang-cc -triple
i386-pc-linux-gnu -S -disable-free -main-file-name small.c --relocation-model
static --disable-fp-elim --unwind-tables=0 --mcpu=pentium4 --fmath-errno=1 -O1
-fdiagnostics-show-option -o /tmp/cc-ZMJk8h.s -x c small.c 
1.      <eof> parser at end of file
2.      Code generation
3.      Running pass 'Linear Scan Register Allocator' on function '@int165'
clang: error: compiler command failed due to signal 6 (use -v to see
invocation)

regehr at john-home:~/volatile/tmp198$ clang -v

clang version 1.1 (http://llvm.org/svn/llvm-project/cfe/trunk 82487)
Target: i386-pc-linux-gnu
Thread model: posix

regehr at john-home:~/volatile/tmp198$ cat small.c

long long int g_11;
volatile const long long int g_77 = 1;

int safe (int);

unsigned char foo (unsigned char _ui1, unsigned char _ui2)
{
  return _ui2 ? : 1;
}

void int165 (int uint32p57)
{
  if (safe (g_77 <= foo (g_11 < safe (1), 1)), 1)
    {
    }
}


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