This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
; *** IR Dump After LoopVectorizePass on get_ref *** | |
; Function Attrs: nofree norecurse nosync nounwind memory(readwrite, inaccessiblemem: none) uwtable | |
define internal ptr @get_ref(ptr noundef %dst, ptr nocapture noundef %i_dst_stride, ptr nocapture noundef readonly %src, i32 noundef %i_src_stride, i32 noundef %mvx, i32 noundef %mvy, i32 noundef %i_width, i32 noundef %i_height, ptr nocapture noundef readonly %weight) #0 { | |
entry: | |
%and = and i32 %mvy, 3 | |
%shl = shl nuw nsw i32 %and, 2 | |
%and1 = and i32 %mvx, 3 | |
%add = or disjoint i32 %shl, %and1 | |
%shr = ashr i32 %mvy, 2 | |
%mul = mul i32 %shr, %i_src_stride |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
commit 3a87bff1977a02feb072a14930add69ff47cf08d | |
Author: Enna1 <xumingjie.enna1@bytedance.com> | |
Date: Tue May 31 12:06:41 2022 +0800 | |
DumbSanitizer | |
diff --git a/clang/include/clang/Basic/Sanitizers.def b/clang/include/clang/Basic/Sanitizers.def | |
index 9b8936cc520c..6aa6e24d4ec4 100644 | |
--- a/clang/include/clang/Basic/Sanitizers.def | |
+++ b/clang/include/clang/Basic/Sanitizers.def |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash -eux | |
# Build LLVM on Ubuntu | |
# https://llvm.org/docs/GettingStarted.html#getting-the-source-code-and-building-llvm | |
# https://llvm.org/docs/CMake.html#llvm-specific-variables | |
################################################################################ | |
sudo apt-get update | |
sudo apt-get upgrade -y | |
sudo apt-get autoremove -y |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<# | |
# NAME: ConvertToUTF8.ps1 | |
# AUTHOR: https://github.com/Enna1 | |
# DATE: 2020.5.3 | |
.Synopsis | |
Converts .h, .hh, .hpp, .c, .cc, .cpp files in SourcePath to UTF-8 Encoding | |
.DESCRIPTION | |
Converts all files in SourcePath recursevly to UTF-8 and saves them in DestinatioPath |