llvm-project/llvm
Roman Lebedev 1574e49792 [NFC][X86][AArch64] Add tests for the 'check for [no] signed truncation' pattern
Summary:
[[ https://bugs.llvm.org/show_bug.cgi?id=38149 | PR38149 ]]

As discussed in https://reviews.llvm.org/D49179#1158957 and later,
the IR can be improved:
https://rise4fun.com/Alive/gBf
^ that pattern will be produced by Implicit Integer Truncation sanitizer,
https://reviews.llvm.org/D48958
https://bugs.llvm.org/show_bug.cgi?id=21530
in signed case, therefore it is probably a good idea to improve it.

But as it looks from these tests,
i think we want to revert at least some cases in DAGCombine.

Reviewers: spatel, craig.topper, RKSimon, javed.absar

Reviewed By: spatel

Subscribers: kristof.beyls, llvm-commits

Differential Revision: https://reviews.llvm.org/D49247

llvm-svn: 336917
2018-07-12 17:00:11 +00:00
..
bindings
cmake [CMake] Teach the build system to codesign built products 2018-07-10 17:32:48 +00:00
docs [FileCheck] Don't permit overlapping CHECK-DAG 2018-07-11 20:27:27 +00:00
examples
include [XRay] Fix machine verifier issues in X86 2018-07-12 14:36:43 +00:00
lib [AArch64] Armv8.4-A: LDAPR & STLR with immediate offset instructions 2018-07-12 14:57:59 +00:00
projects
resources
runtimes [CMake] Set per-runtime library directory suffix in runtimes build 2018-07-10 19:13:33 +00:00
test [NFC][X86][AArch64] Add tests for the 'check for [no] signed truncation' pattern 2018-07-12 17:00:11 +00:00
tools [llvm-mca] Simplify eventing by adding an onEvent templated method. 2018-07-12 16:56:17 +00:00
unittests [Support] Require llvm::Error passed to formatv() to be wrapped in fmt_consume() 2018-07-12 07:11:28 +00:00
utils [FileCheck] Don't permit overlapping CHECK-DAG 2018-07-11 20:27:27 +00:00
.arcconfig
.clang-format
.clang-tidy
.gitattributes
.gitignore
CMakeLists.txt [CMake] Teach the build system to codesign built products 2018-07-10 17:32:48 +00:00
CODE_OWNERS.TXT CODE_OWNERS: Take ownership of the MIPS backend 2018-06-21 09:59:44 +00:00
CREDITS.TXT Update my information in the CREDITS file. 2018-06-15 20:02:11 +00:00
LICENSE.TXT Update copyright year to 2018. 2018-06-18 12:22:17 +00:00
LLVMBuild.txt
README.txt Test commit: remove a blank line 2018-06-08 21:21:55 +00:00
RELEASE_TESTERS.TXT Remove myself from the release testers list. (NFC) 2018-06-20 21:25:50 +00:00
configure
llvm.spec.in

README.txt

The LLVM Compiler Infrastructure
================================

This directory and its subdirectories contain source code for LLVM,
a toolkit for the construction of highly optimized compilers,
optimizers, and runtime environments.

LLVM is open source software. You may freely distribute it under the terms of
the license agreement found in LICENSE.txt.

Please see the documentation provided in docs/ for further
assistance with LLVM, and in particular docs/GettingStarted.rst for getting
started with LLVM and docs/README.txt for an overview of LLVM's
documentation setup.

If you are writing a package for LLVM, see docs/Packaging.rst for our
suggestions.