[LLVMbugs] [Bug 1446] scalarrepl decimates giant struct
bugzilla-daemon at cs.uiuc.edu
bugzilla-daemon at cs.uiuc.edu
Wed May 30 14:40:52 PDT 2007
http://llvm.org/bugs/show_bug.cgi?id=1446
bram.adams at ugent.be changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |REOPENED
Resolution|FIXED |
------- Additional Comments From bram.adams at ugent.be 2007-05-30 16:40 -------
It looks like the fix only works on OSX (PPC), as on Linux X86 the frontend is now stuck inside the for-
loop on lines 176-->391 of PromoteMemoryToRegister.cpp when in the control flow of -scalarrepl:
#4 0x08764f72 in (anonymous namespace)::PromoteMem2Reg::run (this=0xbff9bfa0)
at /home/bram/workspace/svn/aspicere2/trunk/llvm/lib/Transforms/Utils/
PromoteMemoryToRegister.cpp:271
#5 0x08767021 in llvm::PromoteMemToReg (Allocas=@0xbff9c120, ET=@0x8b14c10,
DF=@0x8b14d98, AST=0x0)
at /home/bram/workspace/svn/aspicere2/trunk/llvm/lib/Transforms/Utils/
PromoteMemoryToRegister.cpp:812
#6 0x08744713 in (anonymous namespace)::SROA::performPromotion (this=0x8b14f38,
F=@0x8bc8468)
at /home/bram/workspace/svn/aspicere2/trunk/llvm/lib/Transforms/Scalar/
ScalarReplAggregates.cpp:130
#7 0x087445ba in (anonymous namespace)::SROA::runOnFunction (this=0x8b14f38, F=@0x8bc8468)
at /home/bram/workspace/svn/aspicere2/trunk/llvm/lib/Transforms/Scalar/
ScalarReplAggregates.cpp:101
#8 0x08826499 in llvm::FPPassManager::runOnFunction (this=0x8b15d00, F=@0x8bc8468)
at /home/bram/workspace/svn/aspicere2/trunk/llvm/lib/VMCore/PassManager.cpp:1145
#9 0x08826237 in llvm::FunctionPassManagerImpl::run (this=0x8b14e78, F=@0x8bc8468)
at /home/bram/workspace/svn/aspicere2/trunk/llvm/lib/VMCore/PassManager.cpp:1103
#10 0x0882611f in llvm::FunctionPassManager::run (this=0x8b156e8, F=@0x8bc8468)
at /home/bram/workspace/svn/aspicere2/trunk/llvm/lib/VMCore/PassManager.cpp:1048
Steps to reproduce (new attached file):
llvm-gcc -emit-llvm -Wall -fno-strict-aliasing -Wimplicit -Wstrict-prototypes -pipe -DUSE_OPENAL=1
-DUSE_CURL=1 -DUSE_CURL_DLOPEN=1 -DUSE_SDL_VIDEO=1 -DUSE_SDL_SOUND=1 -I/usr/include/
SDL -D_REENTRANT -m32 -DUSE_LOCAL_HEADERS=1 -DSVN_VERSION=\"1.33_SVN6303:6304\" -
DNDEBUG -O3 -march=i586 -fomit-frame-pointer -ffast-math -funroll-loops -falign-loops=2 -
falign-jumps=2 -falign-functions=2 -fstrength-reduce -o file.o -c file.c
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
More information about the llvm-bugs
mailing list