- Nov 28, 2013
-
-
Rafael Espindola authored
llvm-svn: 195926
-
NAKAMURA Takumi authored
I forgot to commit them. They were staging in my local repo. llvm-svn: 195924
-
Daniel Sanders authored
llvm-svn: 195923
-
Daniel Sanders authored
Will be reverted in the next commit llvm-svn: 195922
-
NAKAMURA Takumi authored
llvm-svn: 195921
-
NAKAMURA Takumi authored
llvm-svn: 195920
-
Daniel Sanders authored
llvm-svn: 195915
-
Peter Zotov authored
llvm-svn: 195912
-
Rafael Espindola authored
llvm-svn: 195911
-
Hal Finkel authored
Instead of sharing functional unit names between the various PPC itineraries, give each core its own unit names prefixed with the core name. This follows the convention used by other backends (such as ARM), and removes a non-obvious ordering dependency between the various PPCSchedule*.td files. No functionality change intended. llvm-svn: 195908
-
Jiangning Liu authored
caused by build options [-Werror,-Wunused-variable]. llvm-svn: 195905
-
Hao Liu authored
llvm-svn: 195903
-
Reed Kotler authored
conditional branches for very large targets. That will be the next small patch. Everything now should in principle work as good (functionality wise) as without constant islands so we decided at Mips/Imagination to make constant islands the default for Mips16 now so that it will get excercised a lot and this port is still experimentatl though hopefully soon we will change the status. Some more cleanup and code review is in order but things are converging fast. llvm-svn: 195902
-
Akira Hatanaka authored
No functionality change. llvm-svn: 195896
-
David Blaikie authored
ARanges included even extern variables referenced by pointer non-type template parameters even though that variable isn't part of this compilation unit. llvm-svn: 195895
-
Akira Hatanaka authored
llvm-svn: 195894
-
Akira Hatanaka authored
make PIC calls a little more efficient: 1. Remove instructions setting up $gp if it is known that a function has been called at least once. 2. Save the address of a called function in a register instead of loading it from the GOT at every call site. llvm-svn: 195892
-
Hal Finkel authored
This adds the IIC_ prefix to the instruction itinerary class names, giving the PPC backend a naming convention for itinerary classes that is more consistent with that used by the X86 and ARM backends. Instruction scheduling in the PPC backend needs a bunch of cleanup and improvement (especially for the ooo cores). This is just a preliminary step. No functionality change intended. llvm-svn: 195890
-
- Nov 27, 2013
-
-
Rafael Espindola authored
llvm-svn: 195884
-
Rafael Espindola authored
llvm-svn: 195883
-
Tom Stellard authored
NOTE: This is a candidate for the 3.4 branch. llvm-svn: 195881
-
Tom Stellard authored
SGPRs are spilled into VGPRs using the {READ,WRITE}LANE_B32 instructions. v2: - Fix encoding of Lane Mask - Use correct register flags, so we don't overwrite the low dword when restoring multi-dword registers. v3: - Register spilling seems to hang the GPU, so replace all shaders that need spilling with a dummy shader. v4: - Fix *LANE definitions - Change destination reg class for 32-bit SMRD instructions v5: - Remove small optimization that was crashing Serious Sam 3. https://bugs.freedesktop.org/show_bug.cgi?id=68224 https://bugs.freedesktop.org/show_bug.cgi?id=71285 NOTE: This is a candidate for the 3.4 branch. llvm-svn: 195880
-
Tom Stellard authored
Writing to the M0 register from an SMRD instruction hangs the GPU, so we need to use the SGPR_32 register class, which does not include M0. NOTE: This is a candidate for the 3.4 branch. llvm-svn: 195879
-
Tom Stellard authored
NOTE: This is a candidate for the 3.4 branch. llvm-svn: 195878
-
Lang Hames authored
cross-reference debug output with encoded stack-maps, and to create stackmap test-cases. llvm-svn: 195874
-
Rafael Espindola authored
In particular, check the name of the symbol we are putting in the constant pool. llvm-svn: 195865
-
Rafael Espindola authored
MO_ExternalSymbol and MO_JumpTableIndex don't show up in inline asm. llvm-svn: 195861
-
Rafael Espindola authored
llvm-svn: 195859
-
Rafael Espindola authored
llvm-svn: 195857
-
Rafael Espindola authored
We currently error in clang with: "error: thread-local storage is unsupported for the current target", but we can start to get the llvm level ready. When compiling template<typename T> struct foo { static __declspec(thread) int bar; }; template<typename T> __declspec(therad) int foo<T>::bar; template struct foo<int>; msvc produces SECTION HEADER #3 .tls$ name 0 physical address 0 virtual address 4 size of raw data 12F file pointer to raw data (0000012F to 00000132) 0 file pointer to relocation table 0 file pointer to line numbers 0 number of relocations 0 number of line numbers C0301040 flags Initialized Data COMDAT; sym= "public: static int foo<int>::bar" (?bar@?$foo@H@@2HA) 4 byte align Read Write gcc produces a ".data$__emutls_v.<symbol>" for the testcase with __declspec(thread) replaced with thread_local. llvm-svn: 195849
-
Rafael Espindola authored
MO_ConstantPoolIndex is handled in printLeaMemReference. MO_JumpTableIndex and MO_ExternalSymbol don't show up in inline asm. llvm-svn: 195847
-
Jiangning Liu authored
llvm-svn: 195843
-
Peter Zotov authored
This commit embeds a set of linker flags with hardcoded paths to the LLVM shared library on --enable-shared builds into .cmxa files and stub dynamic libraries. This solution closely follows existing rules for rpath in the LLVM tools, which had to be modified because of differences in toolchain. Without this patch, OCaml tests as well as opam bindings broke, as neither of those updates LD_LIBRARY_PATH to include the $prefix/lib directory. llvm-svn: 195834
-
Rafael Espindola authored
llvm-svn: 195826
-
Rafael Espindola authored
llvm-svn: 195825
-
Rafael Espindola authored
It is only used for asm printing. On X86 we put basic block addresses on register before passing them to inline asm, so the MO_MachineBasicBlock case was dead. MO_ExternalSymbol was dead since any symbol being passed to inline asm is represented as MO_GlobalAddress. The MO_GlobalAddress and MO_Register cases were not tested. llvm-svn: 195824
-
Sean Silva authored
Impetus for the clarification by Mikael Lyngvig. llvm-svn: 195812
-
Hal Finkel authored
llvm-svn: 195807
-
Rafael Espindola authored
llvm-svn: 195806
-
Chad Rosier authored
llvm-svn: 195803
-