New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cannot promote llvm.powi.f32 #1611
Comments
assigned to @lattner |
Fixed, testcase here: CodeGen/Generic/fpowi-promote.ll Patch here: BTW, you'll get much better code out of LLVM if you configure llvm-gcc to produce code for a target with Thanks, -Chris |
I'm still getting this, after updating and rebuilding llvm-gcc and llvm: |
This really is fixed, please verify you have the patch. -Chris |
Sorry for the noise, I had rebuilt in the wrong order. |
JIT ASI cherry-picks
Extended Description
Compiling LLVM (cvs) using a bootstrapped LLVM-GCC (svn):
llvm-cvs/lib/Analysis $ llvm-g++ -I/home/me22/programming/llvm-cvs/lib/Analysis
-I/home/me22/programming/llvm-cvs/lib/Analysis
-I/home/me22/programming/llvm-cvs/include
-I/home/me22/programming/llvm-cvs/include
-I/home/me22/programming/llvm-cvs/include
-I/home/me22/programming/llvm-cvs/include -D_GNU_SOURCE -D__STDC_LIMIT_MACROS
-O3 -fomit-frame-pointer -fno-exceptions -D_DEBUG -Woverloaded-virtual
-pedantic -Wall -W -Wwrite-strings -Wno-long-long -Wunused -Wno-unused-parameter
-c -MD -MT
/home/me22/programming/llvm-cvs/lib/Analysis/Release/ConstantFolding.o -MP -MF
/home/me22/programming/llvm-cvs/lib/Analysis/Release/ConstantFolding.LACXXd
ConstantFolding.cpp -o
/home/me22/programming/llvm-cvs/lib/Analysis/Release/ConstantFolding.o
cc1plus: ScheduleDAG.cpp:378: void
llvm::ScheduleDAG::AddOperand(llvm::MachineInstr*, llvm::SDOperand, unsigned
int, const llvm::TargetInstrDescriptor*, llvm::DenseMap<llvm::SDNode*, unsigned
int, llvm::DenseMapKeyInfollvm::SDNode* >&): Assertion
`RegMap->getRegClass(VReg) == RC && "Register class of operand and regclass of
use don't agree!"' failed.
ConstantFolding.cpp:487: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://llvm.org/bugs for instructions.
aKor suggesting trying with -D__NO_MATH_INLINES:
llvm-cvs/lib/Analysis $ llvm-g++ -I/home/me22/programming/llvm-cvs/lib/Analysis
-I/home/me22/programming/llvm-cvs/lib/Analysis
-I/home/me22/programming/llvm-cvs/include
-I/home/me22/programming/llvm-cvs/include
-I/home/me22/programming/llvm-cvs/include
-I/home/me22/programming/llvm-cvs/include -D_GNU_SOURCE -D__STDC_LIMIT_MACROS
-O3 -fomit-frame-pointer -fno-exceptions -D_DEBUG -Woverloaded-virtual
-pedantic -Wall -W -Wwrite-strings -Wno-long-long -Wunused -Wno-unused-parameter
-c -MD -MT
/home/me22/programming/llvm-cvs/lib/Analysis/Release/ConstantFolding.o -MP -MF
/home/me22/programming/llvm-cvs/lib/Analysis/Release/ConstantFolding.LACXXd
ConstantFolding.cpp -o
/home/me22/programming/llvm-cvs/lib/Analysis/Release/ConstantFolding.o
-D__NO_MATH_INLINES
NODE: 0x8eb6600: f32 = fpowi 0x8eb1f20, 0x8eb55b0
cc1plus: LegalizeDAG.cpp:3159:
llvm::SDOperand::SelectionDAGLegalize::PromoteOp(llvm::SDOperand):
Assertion `0 && "Do not know how to promote this operator!"' failed.
ConstantFolding.cpp:487: internal compiler error: Aborted
Please submit a full bug report,
with preprocessed source if appropriate.
See URL:http://llvm.org/bugs for instructions.
bytecode file attached, generated with:
llvm-g++ -I/home/me22/programming/llvm-cvs/lib/Analysis
-I/home/me22/programming/llvm-cvs/lib/Analysis
-I/home/me22/programming/llvm-cvs/include
-I/home/me22/programming/llvm-cvs/include
-I/home/me22/programming/llvm-cvs/include
-I/home/me22/programming/llvm-cvs/include -D_GNU_SOURCE -D__STDC_LIMIT_MACROS
-O3 -fomit-frame-pointer -fno-exceptions -D_DEBUG -Woverloaded-virtual
-pedantic -Wall -W -Wwrite-strings -Wno-long-long -Wunused -Wno-unused-parameter
-c -MD -MT
/home/me22/programming/llvm-cvs/lib/Analysis/Release/ConstantFolding.o -MP -MF
/home/me22/programming/llvm-cvs/lib/Analysis/Release/ConstantFolding.LACXXd
ConstantFolding.cpp --emit-llvm
recompiling with GCC to get a working llc & bugpoint to narrow it further...
The text was updated successfully, but these errors were encountered: