- Apr 15, 2010
-
-
Dan Gohman authored
llvm-svn: 101376
-
Dan Gohman authored
llvm-svn: 101375
-
Dan Gohman authored
in addition to the predecessor. llvm-svn: 101374
-
Gabor Greif authored
llvm-svn: 101371
-
Gabor Greif authored
llvm-svn: 101368
-
Benjamin Kramer authored
llvm-svn: 101365
-
Gabor Greif authored
of the operand array the motivation for this patch are laid out in my mail to llvm-commits: more efficient access to operands and callee, faster callgraph-construction, smaller compiler binary llvm-svn: 101364
-
Chris Lattner authored
tokenfactor in between the load/store. This allows us to optimize test7 into: _test7: ## @test7 ## BB#0: ## %entry movl (%rdx), %eax ## kill: SIL<def> ESI<kill> movb %sil, 5(%rdi) ret instead of: _test7: ## @test7 ## BB#0: ## %entry movl 4(%esp), %ecx movl $-65281, %eax ## imm = 0xFFFFFFFFFFFF00FF andl 4(%ecx), %eax movzbl 8(%esp), %edx shll $8, %edx addl %eax, %edx movl 12(%esp), %eax movl (%eax), %eax movl %edx, 4(%ecx) ret llvm-svn: 101355
-
Chris Lattner authored
This doesn't occur much at all, it only seems to formed in the case when the trunc optimization kicks in due to phase ordering. In that case it is saves a few bytes on x86-32. llvm-svn: 101350
-
Chris Lattner authored
and. This happens with the store->load narrowing stuff. llvm-svn: 101348
-
rdar://7860110Chris Lattner authored
a load/or/and/store sequence into a narrower store when it is safe. Daniel tells me that clang will start producing this sort of thing with bitfields, and this does trigger a few dozen times on 176.gcc produced by llvm-gcc even now. This compiles code like CodeGen/X86/2009-05-28-DAGCombineCrash.ll into: movl %eax, 36(%rdi) instead of: movl $4294967295, %eax ## imm = 0xFFFFFFFF andq 32(%rdi), %rax shlq $32, %rcx addq %rax, %rcx movq %rcx, 32(%rdi) and each of the testcases into a single store. Each of them used to compile into craziness like this: _test4: movl $65535, %eax ## imm = 0xFFFF andl (%rdi), %eax shll $16, %esi addl %eax, %esi movl %esi, (%rdi) ret llvm-svn: 101343
-
Dan Gohman authored
llvm-svn: 101342
-
Chris Lattner authored
llvm-svn: 101341
-
Chris Lattner authored
llvm-svn: 101340
-
Daniel Dunbar authored
llvm-svn: 101338
-
Daniel Dunbar authored
llvm-svn: 101337
-
Chris Lattner authored
characters long. llvm-svn: 101336
-
Anders Carlsson authored
llvm-svn: 101335
-
Dan Gohman authored
llvm-svn: 101334
-
Eric Christopher authored
patterns to handle the lowering. llvm-svn: 101331
-
Evan Cheng authored
llvm-svn: 101330
-
Johnny Chen authored
llvm-svn: 101329
-
Evan Cheng authored
llvm-svn: 101325
-
Devang Patel authored
llvm-svn: 101317
-
Devang Patel authored
llvm-svn: 101315
-
Devang Patel authored
llvm-svn: 101314
-
Tobias Grosser authored
The commit "Adding IPSCCP and Internalize passes to the C-bindings" introduced new dependencies for IPO. Add these to the CMAKE build as otherwise the BUILD_SHARED_LIBS=1 build fails. llvm-svn: 101313
-
Johnny Chen authored
function checks whether we have a valid submode for VLDM/VSTM (must be either "ia" or "db") before calling ARM_AM::getAM5Opc(AMSubMode, unsigned char). llvm-svn: 101306
-
Jim Grosbach authored
kernel linker happier when dealing with kexts. Radar 7805069 llvm-svn: 101303
-
Dan Gohman authored
llvm-svn: 101300
-
Dan Gohman authored
other getOperand wrappers, and it makes it easier to use with DebugInfo code, which isn't currently prepared to see const MDNode *. llvm-svn: 101299
-
Dan Gohman authored
llvm-svn: 101298
-
Nicolas Geoffray authored
llvm-svn: 101294
-
Johnny Chen authored
Change the error msg to read "Encoding error: msb < lsb". llvm-svn: 101293
-
- Apr 14, 2010
-
-
Dan Gohman authored
be used in ImmutableCallSite too. llvm-svn: 101292
-
Johnny Chen authored
was asserting because the (RegClass, RegNum) combination doesn't make sense from an encoding point of view. Since getRegisterEnum() is used all over the place, to change the code to check for encoding error after each call would not only bloat the code, but also make it less readable. An Err flag is added to the ARMBasicMCBuilder where a client can set a non-zero value to indicate some kind of error condition while building up the MCInst. ARMBasicMCBuilder::BuildIt() checks this flag and returns false if a non-zero value is detected. llvm-svn: 101290
-
Jakob Stoklund Olesen authored
llvm-svn: 101286
-
Evan Cheng authored
- TryToOptimizeStoreOfMallocToGlobal should check if TargetData is available and bail out if it is not. The transformations being done requires TD. llvm-svn: 101285
-
Dan Gohman authored
llvm-svn: 101283
-
Bob Wilson authored
does not have a legal type. The legalizer does not know how to handle those nodes. Radar 7854640. llvm-svn: 101282
-