Displaying 9 results from an estimated 9 matches for "newty".
Did you mean:
newly
2013 Jul 31
1
[LLVMdev] Problem to remove successors
Hi All,
I need to remove successors from every basic block to insert new ones
I tried this code, but it doesn't work
void RemoveSuccessor(TerminatorInst *TI, unsigned SuccNum) {
assert(SuccNum < TI->getNumSuccessors() &&
"Trying to remove a nonexistant successor!");
// If our old successor block contains any PHI nodes, remove the entry
in the
//
2017 Jun 08
4
DICompileUnit duplication in LLVM 4.0.0?
...{}
virtual StringRef getPassName() const override {
return "Duplicate every function";
}
virtual void getAnalysisUsage(AnalysisUsage &) const override;
virtual bool runOnModule(Module &) override;
Function *duplicate(Module &, Function &Old, FunctionType *NewTy) const;
};
void FunctionDuplication::getAnalysisUsage(AnalysisUsage &AU) const {
ModulePass::getAnalysisUsage(AU);
}
Function *FunctionDuplication::duplicate(Module &M, Function &Old,
FunctionType *NewTy) const {
Function *New = Function::C...
2017 Jun 08
2
DICompileUnit duplication in LLVM 4.0.0?
...eturn "Duplicate every function";
>> }
>>
>> virtual void getAnalysisUsage(AnalysisUsage &) const override;
>>
>> virtual bool runOnModule(Module &) override;
>>
>> Function *duplicate(Module &, Function &Old, FunctionType *NewTy) const;
>> };
>>
>> void FunctionDuplication::getAnalysisUsage(AnalysisUsage &AU) const {
>> ModulePass::getAnalysisUsage(AU);
>> }
>>
>> Function *FunctionDuplication::duplicate(Module &M, Function &Old,
>>...
2008 Mar 10
0
[LLVMdev] Verifier Error
...ed where this error is
coming from and would
be thankful for any hints in this regard.
Aditya
P.S :
Error:
Program received signal SIGSEGV, Segmentation fault.
[Switching to Thread 1076469152 (LWP 31487)]
0x0861bf59 in llvm::PATypeHolder::get (this=0x8) at
Type.cpp:46
46 const Type *NewTy = Ty->getForwardedType();
(gdb) bt
#0 0x0861bf59 in llvm::PATypeHolder::get (this=0x8)
at Type.cpp:46
#1 0x0837cac5 in llvm::PATypeHolder::operator
llvm::Type* (this=0x8)
at
/work/aditya/llvm-2.2/include/llvm/AbstractTypeUser.h:149
#2 0x0837cadc in llvm::Value::getType (this=0x0)
at /...
2017 Nov 14
2
[GlobalISel][AArch64] Toward flipping the switch for O0: Please give it a try!
...march=armv8-a -c test.c -O0 -mllvm -global-isel -mllvm -global-isel-abort=0
clang-6.0: /work/llvm/llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp:446: static void llvm::RegisterBankInfo::applyDefaultMapping(const llvm::RegisterBankInfo::OperandsMapper &): Assertion `OrigTy.getSizeInBits() == NewTy.getSizeInBits() && "Types with difference size cannot be handled by the default " "mapping"' failed.
#0 0x000000000362a764 PrintStackTraceSignalHandler(void*) (/work/llvm/build/bin/clang-6.0+0x362a764)
#1 0x000000000362aac6 SignalHandler(int) (/work/llvm/build/bi...
2017 Nov 14
6
[GlobalISel][AArch64] Toward flipping the switch for O0: Please give it a try!
...v8-a -c test.c -O0 -mllvm -global-isel -mllvm -global-isel-abort=0
>> clang-6.0: /work/llvm/llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp:446: static void llvm::RegisterBankInfo::applyDefaultMapping(const llvm::RegisterBankInfo::OperandsMapper &): Assertion `OrigTy.getSizeInBits() == NewTy.getSizeInBits() && "Types with difference size cannot be handled by the default " "mapping"' failed.
>> #0 0x000000000362a764 PrintStackTraceSignalHandler(void*) (/work/llvm/build/bin/clang-6.0+0x362a764)
>> #1 0x000000000362aac6 SignalHandler(int) (/...
2017 Nov 17
2
[GlobalISel][AArch64] Toward flipping the switch for O0: Please give it a try!
...=armv8-a -c test.c -O0 -mllvm -global-isel -mllvm -global-isel-abort=0
> clang-6.0: /work/llvm/llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp:446: static void llvm::RegisterBankInfo::applyDefaultMapping(const llvm::RegisterBankInfo::OperandsMapper &): Assertion `OrigTy.getSizeInBits() == NewTy.getSizeInBits() && "Types with difference size cannot be handled by the default " "mapping"' failed.
> #0 0x000000000362a764 PrintStackTraceSignalHandler(void*) (/work/llvm/build/bin/clang-6.0+0x362a764)
> #1 0x000000000362aac6 SignalHandler(int) (/work/llv...
2017 Nov 27
2
[GlobalISel][AArch64] Toward flipping the switch for O0: Please give it a try!
...=armv8-a -c test.c -O0 -mllvm -global-isel -mllvm -global-isel-abort=0
> clang-6.0: /work/llvm/llvm/lib/CodeGen/GlobalISel/RegisterBankInfo.cpp:446: static void llvm::RegisterBankInfo::applyDefaultMapping(const llvm::RegisterBankInfo::OperandsMapper &): Assertion `OrigTy.getSizeInBits() == NewTy.getSizeInBits() && "Types with difference size cannot be handled by the default " "mapping"' failed.
> #0 0x000000000362a764 PrintStackTraceSignalHandler(void*) (/work/llvm/build/bin/clang-6.0+0x362a764)
> #1 0x000000000362aac6 SignalHandler(int) (/work/llv...
2017 Nov 13
3
[GlobalISel][AArch64] Toward flipping the switch for O0: Please give it a try!
Hi Quentin,
My only remaining concern is around ABI compatibility.
The following commit seems to indicate that in the previous round of evaluation, we didn’t find an existing ABI compatibility issue:
http://llvm.org/viewvc/llvm-project?view=revision&revision=311388.
I haven’t looked into the details of this issue - so maybe I’m worried over nothing?
I’m wondering if since then on your side