Commits

Show all
Author Commit Message Labels Comments Date
Jakob Stoklund Olesen
ARM "l" constraint for inline asm means R0-R7, also for Thumb2. This is consistent with llvm-gcc's arm/constraints.md. Certain instructions (e.g. CBZ, CBNZ) require a low register, even in Thumb2 mode.
Tags
cremebrulee-32
Bill Wendling
Use ENABLE_ASSERTIONS throughout.
Dan Gohman
Fix a codegen abort seen in 483.xalancbmk.
Evan Cheng
Test for r93409.
Victor Hernandez
Extend testcase to also test llvm.dbg.value intrinsic
Victor Hernandez
Now that LLParser, AsmWriter, BitcodeReader, and BitcodeWriter all correctly support function-local metadata, test it.
Victor Hernandez
In WriteFunction(), write function-local metadata before we write the instructions, so instruction's references to metadata are fully resolved by the time they get written.
Victor Hernandez
Fix printing of function-local metadata in AsmWriter
Victor Hernandez
Clean up unnecessary return and brackets
Victor Hernandez
Add MDNode::getFunction(), which figures out the metadata's function, if it has function that it is local to.
Jakob Stoklund Olesen
Don't fold insufficiently aligned ldr/str into ldm/stm instructions. An unaligned ldr causes a trap, and is then emulated by the kernel with awesome performance. The darwin kernel does not emulate unaligned ldm/stm Thumb2 instructions, so don't generate them. This fixes the miscompilation of Multisource/Applications/JM/lencod for Thumb2. Generating unaligned ldr/str pairs from a 16-bit aligned memcpy is probably also a bad idea, but that is beyond the scope of th…
Stuart Hastings
Erm, previous patch was wrong; Thanks Bill\!
Stuart Hastings
Enable assertions by default for Apple-style builds.
Chris Lattner
this is an SSE-specific issue.
Chris Lattner
X86 if conversion + tail merging issues from PR6032.
Bill Wendling
When the visitSub method was split into visitSub and visitFSub, this xform was added to the FSub version. However, the original version of this xform guarded against doing this for floating point (!Op0->getType()->isFPOrFPVector()). This is causing LLVM to perform incorrect xforms for code like: void func(double *rhi, double *rlo, double xh, double xl, double yh, double yl){ double mh, ml; double c = 134217729.0; double up, u1, u2, vp, v1, v2; up = xh*c; u1 = (xh - up) + up; u2 = xh - u1; vp = yh*c; v1 = (yh - vp) + vp; v2 = yh - v1; mh = xh*yh; ml = (((u1*v1 - mh) + (u1*v2)) + (u2*v1)) + (u2*v2); …
Tobias Grosser
Add getSource() to SuccIterator Get the source BB of an iterator.
Tobias Grosser
Extend SuccIterator Implement most of the missing methods to make SuccIterator random access. operator[] is still missing.
Chris Lattner
this test requires SSE, thanks to jyasskin for pointing this out.
Chris Lattner
makeNameProper is now private!
Chris Lattner
fix ELF section mangling stuff for weak symbols to not use obsolete Mangler interfaces.
Victor Hernandez
Fix comment typo
Chris Lattner
tidy
Chris Lattner
reduce duplicate mangling logic by using MCSymbol::printMangledName.
Chris Lattner
expose a static function as a static method on the MCSymbol class.
Johnny Chen
Fixed a couple of places for Thumb MOV where encoding bits are underspecified.
convert-repo
update tags
Jakob Stoklund Olesen
Fix pasto
Chris Lattner
stop the CBE from using deprecated Mangler stuff.
Victor Hernandez
Write function-local metadata as a metadata subblock of a funciton block
  1. Prev
  2. Next