- Mar 18, 2011
-
-
Jakob Stoklund Olesen authored
Stack slot real estate is virtually free compared to registers, so it is advantageous to spill earlier even though the same value is now kept in both a register and a stack slot. Also eliminate redundant spills by extending the stack slot live range underneath reloaded registers. This can trigger a dead code elimination, removing copies and even reloads that were only feeding spills. llvm-svn: 127868
-
Rafael Espindola authored
llvm-svn: 127867
-
John McCall authored
a while back. llvm-svn: 127866
-
Ted Kremenek authored
Tweak CrashRecoveryContextCleanup::createCleanup() to use the 'delete' cleanup as opposed to the 'destructor' cleanup (reclaims more memory). llvm-svn: 127865
-
Ted Kremenek authored
Construct 'Sema' object on the stack, so that crash recovery can recovery it's associated resources without walking over dead stack space. llvm-svn: 127864
-
NAKAMURA Takumi authored
llvm-svn: 127863
-
NAKAMURA Takumi authored
www/hacking.html: Cosmetic change, to detabify, eliminate whitespace, and add proper slashes to URL. llvm-svn: 127862
-
NAKAMURA Takumi authored
MSYS substitutes path (that begins with "/") to de-mounted Windows path, even if it were nonexistent. "/foo/bar" might be substituted to "C:/msysgit/foo/bar". llvm-svn: 127861
-
NAKAMURA Takumi authored
MSYS substitutes path (that begins with "/") to de-mounted Windows path. "/tmp" might be substituted as "C:/DOCUME~1/chapuni/LOCALS~1/Temp". llvm-svn: 127860
-
NAKAMURA Takumi authored
llvm-svn: 127859
-
NAKAMURA Takumi authored
llvm-svn: 127858
-
Jakob Stoklund Olesen authored
This is not supposed to happen, but I have seen the x86 rematter getting confused when rematerializing partial redefs. llvm-svn: 127857
-
Jakob Stoklund Olesen authored
and early clobbers. Assert when trying to find an undefined value. llvm-svn: 127856
-
Ted Kremenek authored
Add new CrashRecoveryContextCleanup subclass: CrashRecoveryContextDeleteCleanup. This deletes the object, not just calls its destructor. llvm-svn: 127855
-
John McCall authored
Issue this as an IR-gen error; it's not really worthwhile doing this "right", i.e. in Sema, because IR gen knows a lot of tricks beyond what the constant evaluator knows. llvm-svn: 127854
-
Rafael Espindola authored
llvm-svn: 127853
-
Eli Friedman authored
comparisons on x86. Essentially, the way this works is that SUB+SBB sets the relevant flags the same way a double-width CMP would. This is a substantial improvement over the generic lowering in LLVM. The output is also shorter than the gcc-generated output; I haven't done any detailed benchmarking, though. llvm-svn: 127852
-
Ted Kremenek authored
Use CrashRecoveryContextCleanup objects to recover an ASTUnit if we crash in ASTUnit::LoadFromCommandLine() and ASTUnit::LoadFromCompilerInvocation(). llvm-svn: 127851
-
Ted Kremenek authored
Use CrashRecoveryContextCleanup objects to release resources associated with Sema during a crash while parsing. llvm-svn: 127850
-
Ted Kremenek authored
Augment CrashRecoveryContext to have registered "cleanup" objects that can be used to release resources during a crash. llvm-svn: 127849
-
Ken Dyck authored
llvm-svn: 127848
-
Eli Friedman authored
llvm-svn: 127847
-
Ken Dyck authored
CharUnits. No change in functionality intended. llvm-svn: 127846
-
Eli Friedman authored
llvm-svn: 127845
-
Ken Dyck authored
functionality intended. llvm-svn: 127844
-
Johnny Chen authored
Remove the offending logic and update the test cases. llvm-svn: 127843
-
Andrew Trick authored
llvm-svn: 127842
-
Jim Ingham authored
ObjC runtime for print object to Pointer AND Integer (from just pointer.) llvm-svn: 127841
-
Owen Anderson authored
llvm-svn: 127840
-
Andrew Trick authored
SCEV may generate expressions composed of multiple pointers, which can lead to invalid GEP expansion. Until we can teach SCEV to follow strict pointer rules, make sure no bad GEPs creep into IR. Fixes rdar://problem/9038671. llvm-svn: 127839
-
Caroline Tice authored
Make all the codee that attempts to read the PC consistently use ReadCoreReg (which 'does the right thing', adding to pc when needed); fixed places in code where extra addition was being passed along. Fix bug in insn tables. llvm-svn: 127838
-
Andrew Trick authored
llvm-svn: 127837
-
Daniel Dunbar authored
disable Obj-C exceptions. llvm-svn: 127836
-
- Mar 17, 2011
-
-
Rafael Espindola authored
instead of copying. llvm-svn: 127835
-
Devang Patel authored
This is done by lowering dbg.declare intrinsic into dbg.value intrinsic. Radar 9143931. llvm-svn: 127834
-
Johnny Chen authored
o A8.6.195 STR (register) -- Encoding T1 o A8.6.193 STR (immediate, Thumb) -- Encoding T1 It has been changed so that now they use different addressing modes and thus different MC representation (Operand Infos). Modify the disassembler to reflect the change, and add relevant tests. llvm-svn: 127833
-
Devang Patel authored
llvm-svn: 127832
-
Jim Ingham authored
Fix a problem where we were looking up the class pointer in the {class/sel -> implementation} cache for a objc_msgSendSuper call - where we should have looked up the class's super-class. llvm-svn: 127830
-
Benjamin Kramer authored
BuildUDIV: If the divisor is even we can simplify the fixup of the multiplied value by introducing an early shift. This allows us to compile "unsigned foo(unsigned x) { return x/28; }" into shrl $2, %edi imulq $613566757, %rdi, %rax shrq $32, %rax ret instead of movl %edi, %eax imulq $613566757, %rax, %rcx shrq $32, %rcx subl %ecx, %eax shrl %eax addl %ecx, %eax shrl $4, %eax on x86_64 llvm-svn: 127829
-
Benjamin Kramer authored
Add an argument to APInt's magic udiv calculation to specify the number of bits that are known zero in the divided number. This will come in handy soon. llvm-svn: 127828
-