Displaying 4 results from an estimated 4 matches for "qsort_smal".
Did you mean:
qsort_small
2005 Jul 26
0
[LLVMdev] Executing benchmarks using LLVM
Hi,
Question I had was if someone has tried executing Mibench or
Mediabench benchmarks using llvm.
I am trying to do simple qsort benchmark in the Mibench benchmark
suite. I substituted llvmc instead of gcc in the makefiles. But I am
getting the following error.
"llvmc qsort_small.c -O3 -o qsort_small -lm
llvmc: Configuration file for 'c' is not available.
make: *** [qsort_small] Error 1"
Can anyone suggest how I can get rid of this?
Thanks a lot for your help.
Murali
2005 Jul 26
3
[LLVMdev] A compliation target with multiple "profiles"
There is actually only one hardware, but with a lot of so called "profiles".
For example, there are totally 32 hardware registers available, but
the three profiles, namely:
* Low register usage profile - use 8 registers at most
* Medium register usage profile - use 16 registers at most
* High register useage profile - use 32 registers at most
I could define a "TablGen target"
2007 Aug 16
0
[LLVMdev] Changing basic blocks
...nymous namespace)::PrintStackTrace()+0x1a)[0x86a167a]
[0x6]
/lib/libc.so.6(abort+0x108)[0x556d9dc8]
/lib/libc.so.6(__assert_fail+0xfc)[0x556d1f6c]
llc(llvm::LiveVariables::HandleVirtRegUse(llvm::LiveVariables::VarInfo&,
llvm::MachineBasicBlock*, llvm::MachineInstr*)+0x15a)[0x84ffb0a]
make: *** [qsort_small.s] Aborted
--
The string "Register use before def!" kinda annoyed me.
So I wrote and run this test code, wich -should- just remove all
instructions in the basic block and put them back:
--
int total = BB->size();
std::vector<MachineInstr*> positionmap(total);
for (int i = 0;...
2007 Aug 10
2
[LLVMdev] Changing basic blocks
For adding the nop:
TII->insertNoop(*BB, BB->end());
2007/8/9, Chris Lattner <sabre at nondot.org>:
>
> On Thu, 9 Aug 2007, [ISO-8859-1] EmÃlio Wuerges wrote:
> > I too believe it should not be complicated.
> > But I was not being able to do it.
> > Finally, after some thinking (and tinkering), this worked like a charm:
> >
> > MachineInstr* mi =