- Oct 02, 2010
-
-
Jim Grosbach authored
is more familiar with CMake please review? llvm-svn: 115391
-
Eric Christopher authored
llvm-svn: 115390
-
Kevin Enderby authored
where both symbols are "local", that is non-external symbols, and there is no "base" for the symbols used in the expression, that is the section has no non-temporary symbols. This case looks like this: % cat local_reloc_A-B.s .long 0 LB: .long 1 .long LA - LB - 4 .long 2 LA: .long 3 which llvm-mc will not encode without this patch, generates a "unsupported local relocations in difference" error, but the Darwin assembler will encode with relocation entries like this: % otool -rv a.out l.out a.out: Relocation information (__TEXT,__text) 2 entries address pcrel length extern type scattered symbolnum/value 00000008 False long False SUB False 1 (__TEXT,__text) 00000008 False long False UNSIGND False 1 (__TEXT,__text) which is very similar to what is encoded when the symbols don't have the leading 'L' and they are not temporary symbols. Which llvm-mc and the Darwin assembler will encoded like this: Relocation information (__TEXT,__text) 2 entries address pcrel length extern type scattered symbolnum/value 00000008 False long True SUB False B 00000008 False long True UNSIGND False A This is the missing relocation encoding needed to allow the Mach-O x86 Dwarf file and line table to be emitted. So this patch also removes the TODO from the if() statement in MCMachOStreamer::Finish() that didn't call MCDwarfFileTable::Emit() for 64-bit targets. llvm-svn: 115389
-
Chris Lattner authored
force it to be a constant instead of emitting with EmitScalarExpr. In -ftrapv mode, they are not the same. This fixes rdar://8478728 + PR8221 llvm-svn: 115388
-
Douglas Gregor authored
we've set all of its parameters. Fixes <rdar://problem/8499598>; thanks to Sean for the diagnosis. llvm-svn: 115387
-
Jakob Stoklund Olesen authored
RemoveCopyByCommutingDef. llvm-svn: 115386
-
Jakob Stoklund Olesen authored
LiveInterval::MergeValueNumberInto instead of trying to extend LiveRanges and getting it wrong. This fixed PR8249 where a valno with a multi-segment live range was defined by an identity copy created by RemoveCopyByCommutingDef. Some of the live segments disappeared. llvm-svn: 115385
-
Jakob Stoklund Olesen authored
llvm-svn: 115384
-
Chris Lattner authored
llvm-svn: 115383
-
Chris Lattner authored
llvm-svn: 115382
-
Chris Lattner authored
llvm-svn: 115381
-
Johnny Chen authored
depending on the compiler used. Former if gcc/llvm-gcc, and latter if clang. llvm-svn: 115380
-
Devang Patel authored
llvm-svn: 115379
-
Devang Patel authored
llvm-svn: 115378
-
Jim Grosbach authored
llvm-svn: 115377
-
Jim Grosbach authored
llvm-svn: 115376
-
Eric Christopher authored
llvm-svn: 115375
-
Chris Lattner authored
For example, on: #include <emmintrin.h> int foo(int N) { __m128i white2; white2 = _mm_slli_si128(white2, N); return 0; } we used to get: fatal error: error in backend: Cannot yet select: intrinsic %llvm.x86.sse2.psll.dq now we get: /Users/sabre/t.c:4:11: error: argument to '__builtin_ia32_pslldqi128' must be a constant integer white2 = _mm_slli_si128(white2, N); ^~~~~~~~~~~~~~~~~~~~~~~~~ In file included from /Users/sabre/t.c:1: /Volumes/Projects/cvs/llvm/Debug+Asserts/lib/clang/2.9/include/emmintrin.h:781:13: note: instantiated from: ((__m128i)__builtin_ia32_pslldqi128((__m128i)(VEC), (IMM)*8)) ^ ~~~~~~~ 1 error generated. llvm-svn: 115374
-
Jim Grosbach authored
llvm-svn: 115373
-
Johnny Chen authored
ARG: (struct objc_selector *) _cmd to ARG: (SEL) _cmd The change most likely resulted from an update from the llvm tot with a newer clang. llvm-svn: 115372
-
Greg Clayton authored
right name pools. llvm-svn: 115371
-
Jim Grosbach authored
llvm-svn: 115370
-
Johnny Chen authored
llvm-svn: 115369
-
Johnny Chen authored
To not skip long running tests, pass '-l' to the test driver (dotest.py). An example: @unittest2.skipIf(TestBase.skipLongRunningTest(), "Skip this long running test") def test_foundation_disasm(self): ... o Added a long running disassemble test to the foundation directory, which iterates the code symbols from Foundation.framework and kicks off a disassemble command for for the named function symbol. Found a crasher: rdar://problem/8504895. o Plus added/updated some comments for the TestBase class. llvm-svn: 115368
-
Jim Grosbach authored
'InstPrinter' to fall into line with the other MC-ized assembly printer using targets. llvm-svn: 115367
-
Chris Lattner authored
are required to be ICE's. No clients of this new functionality yet! llvm-svn: 115366
-
Evan Cheng authored
llvm-svn: 115365
-
Owen Anderson authored
Thread the determination of branch prediction hit rates back through the if-conversion heuristic APIs. For now, stick with a constant estimate of 90% (branch predictors are good!), but we might find that we want to provide more nuanced estimates in the future. llvm-svn: 115364
-
Jim Grosbach authored
InstPrinter) subdir llvm-svn: 115363
-
Devang Patel authored
llvm-svn: 115362
-
Chris Lattner authored
llvm-svn: 115361
-
Jim Grosbach authored
been MC-ized for assembly printing. MSP430 is mostly so, but still has the asm printer and lowering code in the printer subdir for the moment. llvm-svn: 115360
-
Jim Grosbach authored
delay. Anton and PIC16 folks, if this is still good to keep, please go ahead and add it back in with an updated comment about when would be a good time to revisit. llvm-svn: 115358
-
Gabor Greif authored
llvm-svn: 115356
-
Gabor Greif authored
a helper function (AdjustAPSInt) and use that for adjusting the high bounds of case ranges before APSInt comparisons. Fixes http://llvm.org/bugs/show_bug.cgi?id=8135 Some minor refacorings while I am here. llvm-svn: 115355
-
- Oct 01, 2010
-
-
Evan Cheng authored
llvm-svn: 115354
-
Evan Cheng authored
llvm-svn: 115353
-
Bill Wendling authored
Need to specify SSE4 for machines which don't have SSE4. The code checked for is generated by SSE4. Otherwise, we get something else. llvm-svn: 115352
-
Caroline Tice authored
llvm-svn: 115351
-
Eric Christopher authored
llvm-svn: 115350
-