Skip to content

Instantly share code, notes, and snippets.

View Bigcheese's full-sized avatar

Michael Spencer Bigcheese

View GitHub Profile
@Bigcheese
Bigcheese / gist:322ffd289c4fffd5d753
Created November 22, 2014 02:03
MLPCCG Rules Changes
(104.2) If a modifier says something can’t happen and another modifier or
rule tries to make that thing happen, that “can’t” modifier takes precedence.
(104.2) If a modifier or rule says something can’t happen and another
modifier or rule tries to make that thing happen, that “can’t” modifier takes
precedence.
========================================================
o (203.2) A card of a color contributes power of that color, but a card which
‘adds its power’ to another card does not add its colors to that card.
#define API_CHANGED __attribute__((deprecated("API has changed."))) inline
#define API_CHANGED_NOINLINE __attribute__((deprecated("API has changed.")))
diff --git a/source/derived.tex b/source/derived.tex
index 74216d5..a9f3483 100644
--- a/source/derived.tex
+++ b/source/derived.tex
@@ -701,80 +701,13 @@ class overrides a base class destructor declared virtual;
see~\ref{class.dtor} and~\ref{class.free}.
\pnum
-The return type of an overriding function shall be either identical to
-the return type of the overridden function or \term{covariant} with
This set of occurrences is created by 514.6:
simultaneously {
place_card_on_bottom(X)
place_card_on_bottom(Friend_with_pumped)
}
Blossemforth's replacement modifier replaces it with:
simultaneously {
#include <string>
#include <locale>
namespace unicode {
enum class encoding_form {
utf_8,
utf_16,
utf_32,
};
#include <random>
#include <iostream>
#include <vector>
#include <type_traits>
#include <inttypes.h>
#include <bitset>
enum ZeroBehavior {
/// \brief The returned value is undefined.
ZB_Undefined,
diff --git a/lib/Transforms/InstCombine/InstCombineCalls.cpp b/lib/Transforms/InstCombine/InstCombineCalls.cpp
index 0bc3ac7..e0bd6b5 100644
--- a/lib/Transforms/InstCombine/InstCombineCalls.cpp
+++ b/lib/Transforms/InstCombine/InstCombineCalls.cpp
@@ -554,6 +554,51 @@ Instruction *InstCombiner::visitCallInst(CallInst &CI) {
break;
}
+ // Constant fold <A x Bi> << Ci.
+ case Intrinsic::x86_sse2_psll_d:
#include <x86intrin.h>
#include <immintrin.h>
#include <avxintrin.h>
#include <avx2intrin.h>
#include <stdio.h>
#include <inttypes.h>
__m128i shift_sse2(unsigned S) {
__v8hi a8 = {1, 2, 3, 4, 5, 6, 7, 8};
__m128i shift = {S};
CMake Warning (dev) in C:/Users/mspencer/Projects/llvm-project/clang/lib/ASTMatchers/Dynamic/CMakeLists.txt:
Policy CMP0022 is not set: INTERFACE_LINK_LIBRARIES defines the link
interface. Run "cmake --help-policy CMP0022" for policy details. Use the
cmake_policy command to set the policy and suppress this warning.
Target "clangDynamicASTMatchers" has an INTERFACE_LINK_LIBRARIES property.
This should be preferred as the source of the link interface for this
library but because CMP0022 is not set CMake is ignoring the property and
using the link implementation as the link interface instead.
#!/usr/bin/env python
for i in xrange(0, 10000000):
print "%d %d" % (i, i + 10000000)