- Jan 06, 2014
-
-
Venkatraman Govindaraju authored
llvm-svn: 198580
-
Bill Wendling authored
This moves the check up into the parent class so that all targets can use it without having to copy (and keep in sync) the same error message. llvm-svn: 198579
-
- Jan 05, 2014
-
-
Benjamin Kramer authored
llvm-svn: 198567
-
Venkatraman Govindaraju authored
llvm-svn: 198533
-
Bill Wendling authored
__builtin_returnaddress requires that the value passed into is be a constant. However, at -O0 even a constant expression may not be converted to a constant. Emit an error message intead of crashing. llvm-svn: 198531
-
- Jan 04, 2014
-
-
Venkatraman Govindaraju authored
llvm-svn: 198484
-
Venkatraman Govindaraju authored
Fixes PR18356. llvm-svn: 198480
-
- Jan 03, 2014
-
-
Rafael Espindola authored
Before this patch any program that wanted to know the final symbol name of a GlobalValue had to link with Target. This patch implements a compromise solution where the mangler uses DataLayout. This way, any tool that already links with Target (llc, clang) gets the exact behavior as before and new IR files can be mangled without linking with Target. With this patch the mangler is constructed with just a DataLayout and DataLayout is extended to include the information the Mangler needs. llvm-svn: 198438
-
- Jan 01, 2014
-
-
Venkatraman Govindaraju authored
llvm-svn: 198286
-
Venkatraman Govindaraju authored
llvm-svn: 198281
-
Venkatraman Govindaraju authored
[SparcV9]: Use SRL instead of SLL to clear top 32-bits in ctpop:i32. SLL does not clear top 32 bit, only SRL does. llvm-svn: 198280
-
- Dec 29, 2013
-
-
Venkatraman Govindaraju authored
[SparcV9] Use separate instruction patterns for 64 bit arithmetic instructions instead of reusing 32 bit instruction patterns. This is done to avoid spilling the result of the 64-bit instructions to a 4-byte slot. llvm-svn: 198157
-
Venkatraman Govindaraju authored
[SparcV9] For codegen generated library calls that return float, set inreg flag manually in LowerCall(). This makes the sparc backend to generate Sparc64 ABI compliant code. llvm-svn: 198149
-
Venkatraman Govindaraju authored
Also, pass fp128 arguments to varargs through integer registers if necessary. llvm-svn: 198145
-
- Dec 26, 2013
-
-
Venkatraman Govindaraju authored
llvm-svn: 198030
-
Venkatraman Govindaraju authored
llvm-svn: 198029
-
Venkatraman Govindaraju authored
llvm-svn: 198028
-
- Dec 19, 2013
-
-
Rafael Espindola authored
This matches the data in clang which was added by Jakob Stoklund Olesen in r179596. Thanks for erikjv on irc for pointing me to the relevant documents: http://sparc.com/standards/64.psabi.1.35.ps.Z page 25: Every stack frame must be 16-byte aligned. http://sparc.com/standards/psABI3rd.pdf page 3-10: Although the architecture requires only word alignment, software convention and the operating system require every stack frame to be doubleword aligned. I tried to add a test, but it looks like sparc doesn't implement dynamic stack realignment. This will be tested in clang shortly. llvm-svn: 197646
-
- Dec 16, 2013
-
-
Rafael Espindola authored
llvm-svn: 197400
-
Rafael Espindola authored
llvm-svn: 197397
-
- Dec 13, 2013
-
-
Rafael Espindola authored
llvm-svn: 197249
-
- Dec 11, 2013
-
-
Rafael Espindola authored
llvm-svn: 196990
-
NAKAMURA Takumi authored
llvm-svn: 196988
-
- Dec 09, 2013
-
-
Venkatraman Govindaraju authored
llvm-svn: 196755
-
Venkatraman Govindaraju authored
[Sparc]: Implement getSetCCResultType() in SparcTargetLowering so that umulo/smulo can be lowered on sparcv9 without an assertion error. llvm-svn: 196751
-
- Dec 08, 2013
-
-
Venkatraman Govindaraju authored
This fixes PR18150. llvm-svn: 196735
-
- Dec 03, 2013
-
-
Rafael Espindola authored
No functionality change. llvm-svn: 196170
-
- Dec 02, 2013
-
-
Rafael Espindola authored
llvm-svn: 196065
-
- Nov 28, 2013
-
-
NAKAMURA Takumi authored
I think, in principle, intrinsics_gen may be added explicitly. That said, it can be added incidentally, since each target already has dependencies to llvm-tblgen. Almost all source files depend on both CommonTaleGen and intrinsics_gen. Explicit add_dependencies() have been pruned under lib/Target. llvm-svn: 195929
-
NAKAMURA Takumi authored
add_public_tablegen_target adds *CommonTableGen to LLVM_COMMON_DEPENDS. LLVM_COMMON_DEPENDS affects add_llvm_library (and other add_target stuff) within its scope. llvm-svn: 195927
-
NAKAMURA Takumi authored
llvm-svn: 195921
-
- Nov 25, 2013
-
-
NAKAMURA Takumi authored
llvm-svn: 195590
-
- Nov 24, 2013
-
-
Venkatraman Govindaraju authored
[Sparc] Emit large negative adjustments to SP/FP with sethi+xor instead of sethi+or. This generates correct code for both sparc32 and sparc64. llvm-svn: 195576
-
Venkatraman Govindaraju authored
llvm-svn: 195575
-
Venkatraman Govindaraju authored
[SparcV9]: Do not emit .register directives for global registers that are clobbered by calls but not used in the function itself. llvm-svn: 195574
-
Venkatraman Govindaraju authored
llvm-svn: 195573
-
- Nov 19, 2013
-
-
Juergen Ributzka authored
This patch removes most of the trivial cases of weak vtables by pinning them to a single object file. The memory leaks in this version have been fixed. Thanks Alexey for pointing them out. Differential Revision: http://llvm-reviews.chandlerc.com/D2068 Reviewed by Andy llvm-svn: 195064
-
- Nov 18, 2013
-
-
Alexey Samsonov authored
This change is incorrect. If you delete virtual destructor of both a base class and a subclass, then the following code: Base *foo = new Child(); delete foo; will not cause the destructor for members of Child class. As a result, I observe plently of memory leaks. Notable examples I investigated are: ObjectBuffer and ObjectBufferStream, AttributeImpl and StringSAttributeImpl. llvm-svn: 194997
-
- Nov 15, 2013
-
-
Juergen Ributzka authored
This patch removes most of the trivial cases of weak vtables by pinning them to a single object file. Differential Revision: http://llvm-reviews.chandlerc.com/D2068 Reviewed by Andy llvm-svn: 194865
-
- Nov 12, 2013
-
-
Roman Divacky authored
llvm-svn: 194500
-