- Jun 25, 2012
-
-
Jakob Stoklund Olesen authored
When a PHI use is <undef>, don't emit a copy in the predecessor block, but insert an IMPLICIT_DEF instruction instead. This ensures that virtual register uses are always jointly dominated by defs, even if some of them are IMPLICIT_DEF. llvm-svn: 159121
-
Jakob Stoklund Olesen authored
When the source register to a 2-addr instruction is undefined, there is no need to attempt any transformations - simply replace the source register with the destination register. This also comes up when lowering IMPLICIT_DEF instructions - make sure the <undef> flag is moved to the new partial register def operand: %vreg8<def> = INSERT_SUBREG %vreg9<undef>, %vreg0<kill>, sub_16bit rewrite undef: %vreg8<def> = INSERT_SUBREG %vreg8<undef>, %vreg0<kill>, sub_16bit convert to: %vreg8:sub_16bit<def,read-undef> = COPY %vreg0<kill> llvm-svn: 159120
-
Richard Smith authored
and #endif in non-skipped blocks were not passed to the CommentHandler. Patch by Andy Gibbs! llvm-svn: 159119
-
- Jun 24, 2012
-
-
Jakob Stoklund Olesen authored
The function live-out registers must be live at all function returns, and %RCX is only used by eh.return. When a function also has a normal return, only %RAX holds a return value. This fixes PR13188. llvm-svn: 159116
-
NAKAMURA Takumi authored
llvm-svn: 159112
-
Hal Finkel authored
These are used as the result of comparisons, and often handled differently from larger integer types. llvm-svn: 159111
-
Nick Lewycky authored
the safety check to look for the same type we're going to actually cast to. Fixes PR13180! llvm-svn: 159110
-
Craig Topper authored
llvm-svn: 159109
-
Craig Topper authored
llvm-svn: 159108
-
Craig Topper authored
llvm-svn: 159107
-
Craig Topper authored
llvm-svn: 159106
-
Craig Topper authored
llvm-svn: 159105
-
Nick Lewycky authored
llvm-svn: 159104
-
NAKAMURA Takumi authored
FYI, two arguments of strerror_s() is provided in C++ on msvc. llvm-svn: 159103
-
NAKAMURA Takumi authored
FIXME: Shall we put *.def(s) to the folder? llvm-svn: 159102
-
NAKAMURA Takumi authored
msvc mis-infers ParentTy(RHS) to (const RangesCollectionTy &). llvm-svn: 159101
-
NAKAMURA Takumi authored
llvm-svn: 159100
-
NAKAMURA Takumi authored
llvm-svn: 159099
-
NAKAMURA Takumi authored
llvm-svn: 159098
-
NAKAMURA Takumi authored
VMCore/CMakeLists.txt: [CMake][MSVC] Add "/Og-" to Function.cpp on msvc10. Otherwise, it took over 20 minutes to compile. FIXME: Suppressing optimizations to core libraries would not be good thing. llvm-svn: 159097
-
Nick Lewycky authored
llvm-svn: 159096
-
Jordan Rose authored
llvm-svn: 159095
-
Pete Cooper authored
llvm-svn: 159094
-
Jordan Rose authored
% diagtool tree -Wunused-value -Wunused-value -Wunused-comparison warn_unused_comparison -Wunused-result warn_unused_result warn_unused_call warn_unused_container_subscript_expr warn_unused_expr warn_unused_property_expr warn_unused_voidptr llvm-svn: 159093
-
Pete Cooper authored
llvm-svn: 159092
-
Charles Davis authored
llvm-svn: 159091
-
Craig Topper authored
llvm-svn: 159090
-
John McCall authored
llvm-svn: 159089
-
- Jun 23, 2012
-
-
Hal Finkel authored
llvm-svn: 159088
-
Craig Topper authored
Make CVTDQ2PS instruction use SSE2 predicate instead of SSE1. No functional change because there are no patterns in the instructions. Also fix a typo in a comment. llvm-svn: 159087
-
Craig Topper authored
Move CVTPD2DQ to use SSE2 predicate instead of SSE3. Move DQ2PD and PD2DQ to the SSE2 section of the file. llvm-svn: 159086
-
Fariborz Jahanian authored
id <Protocol>. // rdar://11618852 llvm-svn: 159084
-
Kostya Serebryany authored
llvm-svn: 159083
-
Benjamin Kramer authored
llvm-svn: 159082
-
Marshall Clow authored
llvm-svn: 159081
-
Hans Wennborg authored
Not all targets support __thread variables. llvm-svn: 159080
-
Hans Wennborg authored
Remove temporary GlobalVariable constructors now that Clang has been updated (r159078). llvm-svn: 159079
-
Hans Wennborg authored
This adds support for the tls_model attribute. This allows the user to choose a TLS model that is better than what LLVM would select by default. For example, a variable might be declared as: __thread int x __attribute__((tls_model("initial-exec"))); if it will not be used in a shared library that is dlopen'ed. This depends on LLVM r159077. llvm-svn: 159078
-
Hans Wennborg authored
This allows the user/front-end to specify a model that is better than what LLVM would choose by default. For example, a variable might be declared as @x = thread_local(initialexec) global i32 42 if it will not be used in a shared library that is dlopen'ed. If the specified model isn't supported by the target, or if LLVM can make a better choice, a different model may be used. llvm-svn: 159077
-
Stepan Dyatkovskiy authored
Optimized usage of new SwitchInst case values (IntegersSubset type) in Local.cpp, Execution.cpp and BitcodeWriter.cpp. I got about 1% of compile-time improvement on my machines (Ubuntu 11.10 i386 and Ubuntu 12.04 x64). llvm-svn: 159076
-