Skip to content

Commit 0bdc122

Browse files
committed
Remove redundant check
1 parent 376965e commit 0bdc122

File tree

6 files changed

+57
-2
lines changed

6 files changed

+57
-2
lines changed

CMakeFiles/3.21.3/CMakeSystem.cmake

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
set(CMAKE_HOST_SYSTEM "Windows-10.0.26100")
2+
set(CMAKE_HOST_SYSTEM_NAME "Windows")
3+
set(CMAKE_HOST_SYSTEM_VERSION "10.0.26100")
4+
set(CMAKE_HOST_SYSTEM_PROCESSOR "AMD64")
5+
6+
7+
8+
set(CMAKE_SYSTEM "Windows-10.0.26100")
9+
set(CMAKE_SYSTEM_NAME "Windows")
10+
set(CMAKE_SYSTEM_VERSION "10.0.26100")
11+
set(CMAKE_SYSTEM_PROCESSOR "AMD64")
12+
13+
set(CMAKE_CROSSCOMPILING "FALSE")
14+
15+
set(CMAKE_SYSTEM_LOADED 1)
Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
3+
<ItemGroup Label="ProjectConfigurations">
4+
<ProjectConfiguration Include="Debug|x64">
5+
<Configuration>Debug</Configuration>
6+
<Platform>x64</Platform>
7+
</ProjectConfiguration>
8+
</ItemGroup>
9+
<PropertyGroup Label="Globals">
10+
<ProjectGuid>{F3FC6D86-508D-3FB1-96D2-995F08B142EC}</ProjectGuid>
11+
<Keyword>Win32Proj</Keyword>
12+
<Platform>x64</Platform>
13+
<WindowsTargetPlatformVersion>10.0.22621.0</WindowsTargetPlatformVersion>
14+
</PropertyGroup>
15+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.Default.props"/>
16+
<PropertyGroup>
17+
<PreferredToolArchitecture>x64</PreferredToolArchitecture>
18+
</PropertyGroup>
19+
<PropertyGroup Label="Configuration">
20+
<ConfigurationType>Utility</ConfigurationType>
21+
<CharacterSet>MultiByte</CharacterSet>
22+
<PlatformToolset>v143</PlatformToolset>
23+
</PropertyGroup>
24+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.props"/>
25+
<ItemDefinitionGroup>
26+
<PostBuildEvent>
27+
<Command>echo VCTargetsPath=$(VCTargetsPath)</Command>
28+
</PostBuildEvent>
29+
</ItemDefinitionGroup>
30+
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets"/>
31+
</Project>

CMakeFiles/CMakeOutput.log

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
The system is: Windows - 10.0.26100 - AMD64

llvm/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ autoconf/autom4te.cache
4040
# Directories to ignore (do not add trailing '/'s, they skip symlinks).
4141
#==============================================================================#
4242
# External projects that are tracked independently.
43+
out
4344
projects/*
4445
!projects/*.*
4546
!projects/Makefile

llvm/lib/Target/X86/X86ISelLowering.cpp

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1443,8 +1443,7 @@ X86TargetLowering::X86TargetLowering(const X86TargetMachine &TM,
14431443
ISD::VECREDUCE_SMAX, ISD::VECREDUCE_SMIN, ISD::VECREDUCE_UMAX,
14441444
ISD::VECREDUCE_UMIN}) {
14451445
for (MVT VT : MVT::vector_valuetypes())
1446-
if (VT.isFixedLengthVector() &&
1447-
X86::isVectorReductionFast(Subtarget, VectorOp, VT))
1446+
if (X86::isVectorReductionFast(Subtarget, VectorOp, VT))
14481447
setOperationAction(VectorOp, VT, Custom);
14491448
}
14501449

llvm/updatetest.bat

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
python Q:/llvm-project/llvm/utils/update_llc_test_checks.py --force-update --llc-binary Q:\llvm-project\llvm\out\build\x64-Release\bin\llc Q:\llvm-project\llvm\test\CodeGen\X86\horizontal-sum.ll
2+
python Q:/llvm-project/llvm/utils/update_llc_test_checks.py --force-update --llc-binary Q:\llvm-project\llvm\out\build\x64-Release\bin\llc Q:\llvm-project\llvm\test\CodeGen\X86\optimize-reduction.ll
3+
python Q:/llvm-project/llvm/utils/update_llc_test_checks.py --force-update --llc-binary Q:\llvm-project\llvm\out\build\x64-Release\bin\llc Q:\llvm-project\llvm\test\CodeGen\X86\vector-reduce-add-mask.ll
4+
python Q:/llvm-project/llvm/utils/update_llc_test_checks.py --force-update --llc-binary Q:\llvm-project\llvm\out\build\x64-Release\bin\llc Q:\llvm-project\llvm\test\CodeGen\X86\vector-reduce-add-zext.ll
5+
python Q:/llvm-project/llvm/utils/update_llc_test_checks.py --force-update --llc-binary Q:\llvm-project\llvm\out\build\x64-Release\bin\llc Q:\llvm-project\llvm\test\CodeGen\X86\haddsub.ll
6+
python Q:/llvm-project/llvm/utils/update_llc_test_checks.py --force-update --llc-binary Q:\llvm-project\llvm\out\build\x64-Release\bin\llc Q:\llvm-project\llvm\test\CodeGen\X86\horizontal-sum.ll
7+
python Q:/llvm-project/llvm/utils/update_llc_test_checks.py --force-update --llc-binary Q:\llvm-project\llvm\out\build\x64-Release\bin\llc Q:\llvm-project\llvm\test\CodeGen\X86\vector-reduce-fadd-fast.ll
8+
python Q:/llvm-project/llvm/utils/update_llc_test_checks.py --force-update --llc-binary Q:\llvm-project\llvm\out\build\x64-Release\bin\llc Q:\llvm-project\llvm\test\CodeGen\X86\vector-reduce-fadd.ll

0 commit comments

Comments
 (0)