Commits

Show all
Author Commit Message Labels Comments Date
Chris Lattner
"An improved Mach-O file type detection for sys::IdentifyFileType() This patch add supports for single architecture mach-o files (the current implementation only support Universal Binary), and solve the signature conflict between java class and Universal Binary magics. Note that this function will always returned dynamic library for Universal Binaries (like the current implementation) because the binary type is not include in the file header." Patch by Jean-Daniel Dupas!
Tags
2 tags
Owen Anderson
Reserve the size we'll need in advance.
Dale Johannesen
Allow for rounding up of stack frame.
Dale Johannesen
Fixes the last x86-64 test failure in compat.exp: <16 x float> is 64-byte aligned (for some reason), which gets us into the stack realignment code. The computation changing FP-relative offsets to SP-relative was broken, assiging a spill temp to a location also used for parameter passing. This fixes it by rounding up the stack frame to a multiple of the largest alignment (I concluded it wasn't fixable without doing this, but I'm not very sure.)
Eric Christopher
Remove unused function.
Eric Christopher
Move GetConstantStringInfo to lib/Analysis. Remove string output routine from Constant. Update all callers. Change debug intrinsic api slightly to accomodate move of routine, these now return values instead of strings.
Chris Lattner
when we know the signbit of an input to uint_to_fp is zero, change it to sint_to_fp on targets where that is cheaper (and visaversa of course). This allows us to compile uint_to_fp to: _test: movl 4(%esp), %eax shrl $23, %eax cvtsi2ss %eax, %xmm0 movl 8(%esp), %eax movss %xmm0, (%eax) ret instead of: .align 3 LCPI1_0: ## double .long 0 ## double least significant word 4.5036e+15 .long 1127219200 ## double most significant word 4.5036e+15 .text .align 4,0x90 .globl _test _test: subl $12, %esp movl 16(%esp), %eax shrl $23, %eax movl %eax, (%esp) movl $11272…
Owen Anderson
Remember which MachineOperand we were processing, so we don't have to scan the list to find it again later. This speeds up live intervals from 0.37s to 0.30s on instcombine.
Dan Gohman
Fix the text in an assert string.
Evan Cheng
- Fix a x86 vector isel bug: illegal transformation of a vector_shuffle into a shift. - Add a readme entry for a missing vector_shuffle optimization that results in awful codegen.
Tags
2 tags
Duncan Sands
Add support for expanding PPC 128 bit floats. For this it is convenient to permit floats to be used with EXTRACT_ELEMENT, so I tweaked things to allow that. I also added libcalls for ppcf128 to i32 forms of FP_TO_XINT, since they exist in libgcc and this case can certainly occur (and does occur in the testsuite) - before the i64 libcall was being used. Also, the XINT_TO_FP result seemed to be wrong when the argument is an i128: the wrong fu…
Chris Lattner
Implement JIT support for global aliases, patch by David Chisnall!
Evan Cheng
Restore DeadArgElim back to 52570. It's breaking 447.dealII.
Chris Lattner
Switch the PPC backend and target-independent JIT to use the libsystem InvalidateInstructionCache method instead of calling through a hook on the JIT. This is a host feature, not a target feature.
Chris Lattner
fix compilation errors in my previous patch
Chris Lattner
Add a new InvalidateInstructionCache method to sys::Memory.
Chris Lattner
jump threading can introduce allocas, make sure we promote them back to registers!
Chris Lattner
run mem2reg after the second jump threading pass in llvm-ld.
Chris Lattner
remove a bunch of dead options that never did anything.
Chris Lattner
remove some dead options.
Dan Gohman
SimpleInstructionSelector is here no more.
Duncan Sands
Add/complete support for integer and float select_cc and friends. This code could be factorized a bit but I'm not sure that it's worth it.
Duncan Sands
Pacify gcc-4.3.
Dan Gohman
Remove the OrigVT member from AtomicSDNode, as it is redundant with the base SDNode's VTList.
Chris Lattner
simplify shell syntax to work better on solaris, patch by Nathan Keynes!
Mon P Wang
Added MemOperands to Atomic operations since Atomics touches memory. Added abstract class MemSDNode for any Node that have an associated MemOperand Changed atomic.lcs => atomic.cmp.swap, atomic.las => atomic.load.add, and atomic.lss => atomic.load.sub
matthijs
Fix a (false) warning on darwin.
matthijs
Fix some cosmetics in comments.
Evan Cheng
- Use O(1) check of basic block size limit. - Avoid speculatively execute vector ops.
Chris Lattner
Fix PR2488, a case where we deleted stack restores too aggressively.
  1. Prev
  2. Next