1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-20 11:33:24 +02:00
llvm-mirror/lib
Cameron Zwarich 2bb1e45ea3 The x86-64 ABI says that a bool is only guaranteed to be sign-extended to a byte
rather than an int. Thankfully, this only causes LLVM to miss optimizations, not
generate incorrect code.

This just fixes the zext at the return. We still insert an i32 ZextAssert when
reading a function's arguments, but it is followed by a truncate and another i8
ZextAssert so it is not optimized.

llvm-svn: 127766
2011-03-16 22:20:18 +00:00
..
Analysis Add C++ global operator {new,new[],delete,delete[]}(unsigned {int,long}) to the 2011-03-15 07:31:32 +00:00
Archive Revert PathV2 changes, as sys::fs::unique_file is not finished yet. 2011-03-01 19:50:55 +00:00
AsmParser Use X86_thiscall calling convention for Win64 as well. 2011-03-03 07:49:07 +00:00
Bitcode Move library stuff out of the toplevel CMakeLists.txt file. 2011-02-18 22:06:14 +00:00
CodeGen The x86-64 ABI says that a bool is only guaranteed to be sign-extended to a byte 2011-03-16 22:20:18 +00:00
CompilerDriver Build CompilerDriver library. 2011-03-12 22:01:42 +00:00
ExecutionEngine Tidy up. Whitespace and 80 column. 2011-03-16 01:21:55 +00:00
Linker Correctly merge available_externally and regular definitions when they have 2011-02-01 05:33:52 +00:00
MC Silence compiler warning about case values not being in the enumerated type 2011-03-15 08:54:51 +00:00
Object Object: Fix type punned pointer issues by making DataRefImpl a union and using intptr_t. 2011-01-21 02:27:02 +00:00
Support lib/Support/raw_ostream.cpp: On mingw, report_fatal_error() should not be called at dtor context. 2011-03-16 02:53:39 +00:00
Target The x86-64 ABI says that a bool is only guaranteed to be sign-extended to a byte 2011-03-16 22:20:18 +00:00
Transforms Fix a comment. 2011-03-16 08:13:42 +00:00
VMCore Do not accidently initialize NumDbgValueLost and NumDbgLineLost counts. 2011-03-16 00:27:57 +00:00
CMakeLists.txt Build CompilerDriver library. 2011-03-12 22:01:42 +00:00
Makefile Add LLVMObject Library. 2010-11-15 03:21:41 +00:00