Commits

Show all
Author Commit Message Labels Comments Date
Bill Wendling
Rebranching Dib.
Branches
Apple/Old-Dib
Evan Cheng
Merge in 64440.
Branches
Apple/Dib
Bill Wendling
--- Merging (from foreign repository) r67134 into '.': A test/CodeGen/Generic/2009-03-17-LSR-APInt.ll U lib/Transforms/Scalar/LoopStrengthReduce.cpp LSR shouldn't ever try to hack on integer IV's larger than 64-bits. Right now it is not APInt clean, but even when it is it needs to be evaluated carefully to determine whether it is actually profitable. This fixes a crash on PR3806 --- Merging (from foreign repository) r67139 into '.': A test/Transforms/DeadArgElim/2009-03-17-MRE-Invoke.ll U lib/Transforms/IPO/DeadArgumentElimination.cpp…
Branches
Apple/Dib
Bill Wendling
--- Merging (from foreign repository) r67093 into '.': A test/CodeGen/X86/x86-64-malloc.ll U lib/CodeGen/SelectionDAG/SelectionDAGBuild.cpp U test/CodeGen/X86/alloca-align-rounding.ll Fix codegen to compute the size of an allocation by multiplying the size by the array amount as an i32 value instead of promoting from i32 to i64 then doing the multiply. Not doing this broke wrap-around assumptions that the optimizers (validly) made. The ultimate real fix for this is to introduce i64 version of alloca and remove mallocinst. This fixes PR3829
Branches
Apple/Dib
Bill Wendling
--- Merging (from foreign repository) r67001 into '.': U lib/Target/X86/X86ISelDAGToDAG.cpp Don't forego folding of loads into 64-bit adds when the other operand is a signed 32-bit immediate. Unlike with the 8-bit signed immediate case, it isn't actually smaller to fold a 32-bit signed immediate instead of a load. In fact, it's larger in the case of 32-bit unsigned immediates, because they can be materialized with movl instead of movq.
Branches
Apple/Dib
Bill Wendling
--- Merging (from foreign repository) r67002 into '.': A test/CodeGen/X86/rip-rel-address.ll U lib/Target/X86/AsmPrinter/X86ATTAsmPrinter.cpp Don't forego folding of loads into 64-bit adds when the other operand is a signed 32-bit immediate. Unlike with the 8-bit signed immediate case, it isn't actually smaller to fold a 32-bit signed immediate instead of a load. In fact, it's larger in the case of 32-bit unsigned immediates, because they can be materialized with movl instead of movq.
Branches
Apple/Dib
Bill Wendling
--- Merging (from foreign repository) r67010 into '.': U test/Assembler/vector-shift.ll U lib/VMCore/Constants.cpp U lib/VMCore/ConstantFold.cpp Apply a patch by Micah Villmow to fix AsmParser to accept vector shift constant expressions, and add support for folding vector shift constant expressions. This fixes PR3802.
Branches
Apple/Dib
Bill Wendling
--- Merging (from foreign repository) r67076 into '.': A test/CodeGen/X86/dagcombine-buildvector.ll U lib/CodeGen/SelectionDAG/DAGCombiner.cpp Fix a problem with DAGCombine where we were building an illegal build vector shuffle mask. Forced the mask to be built using i32. Note: this will be irrelevant once vector_shuffle no longer takes a build vector for the shuffle mask.
Branches
Apple/Dib
Bill Wendling
--- Merging (from foreign repository) r67064 into '.': U lib/Transforms/Scalar/JumpThreading.cpp Fix a debug info dependency in jump threading.
Branches
Apple/Dib
Bill Wendling
--- Merging (from foreign repository) r66941 into '.': A test/CodeGen/X86/fast-isel-i1.ll U include/llvm/CodeGen/FastISel.h U lib/CodeGen/SelectionDAG/FastISel.cpp U lib/Target/X86/X86FastISel.cpp --- Merging (from foreign repository) r66988 into '.': U test/CodeGen/X86/fast-isel-phys.ll U test/CodeGen/X86/fast-isel.ll U test/CodeGen/X86/fast-isel-trunc.ll G lib/CodeGen/SelectionDAG/FastISel.cpp G lib/Target/X86/X86FastISel.…
Branches
Apple/Dib
convert-repo
update tags
Dan Gohman
Add a testcase that covers a wide variety of ABI isel cases.
Dan Gohman
Use %rip-relative addressing on x86-64 whenever practical, as it has a smaller encoding than absolute addressing.
Dan Gohman
Don't forego folding of loads into 64-bit adds when the other operand is a signed 32-bit immediate. Unlike with the 8-bit signed immediate case, it isn't actually smaller to fold a 32-bit signed immediate instead of a load. In fact, it's larger in the case of 32-bit unsigned immediates, because they can be materialized with movl instead of movq.
Daniel Dunbar
Add newlines at end of file (this can annoy gcov)
Mon P Wang
Avoid doing the transformation c ? 1.0 : 2.0 as load { 2.0, 1.0 } + c*4 if FPConstant is legal because if the FPConstant doesn't need to be stored in a constant pool, the transformation is unlikely to be profitable.
Dan Gohman
Add a few more ptrtoint/inttoptr cast tests.
Dan Gohman
Improve FastISel's handling of truncates to i1, and implement ptrtoint and inttoptr in X86FastISel. These casts aren't always handled in the generic FastISel code because X86 sometimes needs custom code to do truncation and zero-extension.
Dale Johannesen
Fix -strip-debug-declare to work when there are llvm.global.variable's but no llvm.declare's.
Tags
2 tags
Evan Cheng
Fix PR3784: If the source of a phi comes from a bb ended with an invoke, make sure the copy is inserted before the try range (unless it's used as an input to the invoke, then insert it after the last use), not at the end of the bb. Also re-apply r66140 which was disabled as a workaround.
Ted Kremenek
Add (hidden) TableGen command option '-clang-component' which specifies the component's warnings to process for '-gen-clang-diags-defs'. Also, when the component is specified, generate a '#if' prologue at the top of the generated .def file (to match the current files).
Ted Kremenek
Add initial implementation of a TableGen backend for converting Clang-warnings tablegen files to the original .def preprocessor include files. This is my first TableGen backend; I don't claim that it is awesome.
Ted Kremenek
Further constify Record::isSubClassOf.
Devang Patel
Fix test case. Now, llvm-gcc emits debug info for artificiaal variable _comp_ctor.
stuart
Fix a hashing bug in APInt. A certain pathological testcase (too large for the testsuite) took over six minutes to compile on my Mac. The patched LLVM-GCC compiles that testcase in three seconds (GCC takes less than one second). This hash function is more complex (about 35 instructions on x86) than what Chris wanted, but I expect it will be well-behaved with arbitrary inputs. Thank you to everyone who responded to my previous request for advice.
Chris Lattner
Fix escaping in asm string literals correctly by having tblgen unescape them, then the asmprinter emitter reescape them.
Chris Lattner
add a horrible hack to fix the build.
Bill Wendling
Revert r66920. It was causing failures in the self-hosting buildbot (in release mode). Running /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/BugPoint/dg.exp ... FAIL: /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/BugPoint/crash-narrowfunctiontest.ll Failed with signal(SIGBUS) at line 1 while running: bugpoint /Volumes/Sandbox/Buildbot/llvm/full-llvm/build/llvmCore/test/BugPoint/crash-narrowfunctiontest.ll -bugpoint-crashcalls -silence-passes > /dev/null…
Chris Lattner
add support for a few simple escape characters in tblgen strings.
Daniel Dunbar
Add ENABLE_COVERAGE, for building a +Coverage (gcov) configuration. - Required some extra makefile tweaks to introduce a new flag var which only goes to compile/link tools but not the relink step, otherwise we get a copy of libgcov in the relinked .o files. - No configure magic for this.
  1. Prev
  2. Next