Displaying 2 results from an estimated 2 matches for "getbzeroentry".
2010 Sep 09
0
[LLVMdev] Knowing all possible libcalls in advance and __bzero
Hi,
Looks like LLVM inserts a call __bzero even if my code never does so:
libclamav JIT: Attempt to call external function __bzero
libclamav JIT: *** FATAL error encountered during bytecode generation
It turns out this is because Codegen has this:
const char *X86Subtarget::getBZeroEntry() const {
// Darwin 10 has a __bzero entry point for this purpose.
if (getDarwinVers() >= 10)
return "__bzero";
That belongs to simplifylibcalls. Is there any reason it has to
be in Codegen?
Also are there any other special cases like __bzero that is not part
of RTLIB::?
P.S...
2013 Oct 15
0
[LLVMdev] [llvm-commits] r192750 - Enable MI Sched for x86.
...- llvm/trunk/lib/Target/X86/X86Subtarget.h (original)
>> +++ llvm/trunk/lib/Target/X86/X86Subtarget.h Tue Oct 15 18:33:07 2013
>> @@ -383,11 +383,14 @@ public:
>> /// memset with zero passed as the second argument. Otherwise it
>> /// returns null.
>> const char *getBZeroEntry() const;
>> -
>> +
>> /// This function returns true if the target has sincos() routine in its
>> /// compiler runtime or math libraries.
>> bool hasSinCos() const;
>>
>> + /// Enable the MachineScheduler pass for all X86 subtargets.
>> + boo...