Commits

Show all
Author Commit Message Labels Comments Date
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.
Dan Gohman
Fix FastISel's assumption that i1 values are always zero-extended by inserting explicit zero extensions where necessary. Included is a testcase where SelectionDAG produces a virtual register holding an i1 value which FastISel previously mistakenly assumed to be zero-extended.
Chris Lattner
remove a test that depends on -debug.
Chris Lattner
remove a testcase that depends on -debug existing.
Rafael Avila de Espindola
add 8 and 16 bit TLS moves. add a fixme note on how to remove code duplication.
Dale Johannesen
One more place where debug info affects codegen.
Devang Patel
Test case for rev. 66925
Rafael Avila de Espindola
Improve sext and zext of TLS variables.
Gabor Greif
Second installment of "BasicBlock operands to the back" changes. For InvokeInst now all arguments begin at op_begin(). The Callee, Cont and Fail are now faster to get by access relative to op_end(). This patch introduces some temporary uglyness in CallSite. Next I'll bring CallInst up to a similar scheme and then the uglyness will magically vanish. This patch also exposes all the reliance of the libraries on InvokeInst's operand ordering. I am thinking of tak…
Chris Lattner
remove a buggy test, it is not ok to use -debug in RUN line.
Chris Lattner
generalize this code so that fast isel handles integer truncates to i1, which codegen to the same thing as integer truncates to i8 (the top bits are just undefined). This implements rdar://6667338
Chris Lattner
add a new TGError class and use it to propagate location info with errors when thrown. This gets us nice errors like this from tblgen: CMOVL32rr: (set GR32:i32:$dst, (X86cmov GR32:$src1, GR32:$src2)) /Users/sabre/llvm/Debug/bin/tblgen: error: Included from X86.td:116: Parsing X86InstrInfo.td:922: In CMOVL32rr: X86cmov node requires exactly 4 operands! def CMOVL32rr : I<0x4C, MRMSrcReg, // if <s, GR32 = GR32 ^ instead of just: CMOVL32rr: (set GR32:i32:$dst, (X86cmov GR32:$src1, GR32:$src2)) /Users/sabre/llvm/Debug/bin/tb…
Tags
2 tags
Chris Lattner
give each Record a location.
Chris Lattner
make "locations" a class instead of a typedef.
Duncan Sands
Update these for the 2.5 release.
Bill Wendling
These instructions have special lowering that may lower them to SSE instructions. Prevent that if we don't want implicit uses of SSE.
Argiris Kirtzidis
Unbreak build, bring in std::string for GCC 4.3
Evan Cheng
Fix some significant problems with constant pools that resulted in unnecessary paddings between constant pool entries, larger than necessary alignments (e.g. 8 byte alignment for .literal4 sections), and potentially other issues. 1. ConstantPoolSDNode alignment field is log2 value of the alignment requirement. This is not consistent with other SDNode variants. 2. MachineConstantPool alignment field is also a log2 value. 3. However, some places are creating ConstantPoolSDNode with alignment value rather than log2 values. This creates entries with artificially large alignments, e.g. 256 for SSE vector values. 4. Constant poo…
Evan Cheng
Unbreak build.
  1. Prev
  2. Next