Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
"Temporary" fork of LLVM for Rust
C++ Assembly C Objective-C Shell OCaml Other
Pull request Compare This branch is even with luqmana:master.

simplifycfg: Fix integer overflow converting switch into icmp.

If a switch instruction has a case for every possible value of its type,
with the same successor, SimplifyCFG would replace it with an icmp ult,
but the computation of the bound overflows in that case, which inverts
the test.

Patch by Jed Davis!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@179587 91177308-0d34-0410-b5e6-96231b3b80d8
latest commit 2e9f0d21fe
@zmodem zmodem authored jld committed
Failed to load latest commit information.
autoconf Turn anonymous type in anonymous union warning back on after cleaning up
bindings [python] Add markup option to disassembler
cmake Turn anonymous type in anonymous union warning back on after cleaning up
docs [docs] Discuss a potential bug to be aware of.
examples Update links to "Itanium C++ ABI: Exception Handling" document
include Implement the fixed stack segment attribute
lib simplifycfg: Fix integer overflow converting switch into icmp.
projects Print a warning message if compiler-rt can't be built because of old …
runtime Remove GCDAProfiling.c. This copy is old, the copy in compiler-rt is …
test simplifycfg: Fix integer overflow converting switch into icmp.
tools Build LLVMgold.so on FreeBSD using cmake.
unittests Test case for graceful handling of long file names on Windows. Patch …
utils Extract a method.
.arcconfig Add .arcconfig to the repository. Useful if someone wants to use phab…
.gitignore Add extra vim swap file pattern
CMakeLists.txt Revert CMake version bump since we don't actually need 2.8.6 any more.
CODE_OWNERS.TXT Reflect reality.
CREDITS.TXT Reflect reality.
LICENSE.TXT Add LICENSE.TXT covering contributions made by ARM.
LLVMBuild.txt LLVMBuild: Introduce a common section which currently has a list of the
Makefile Improved svn repo searching for 'make update'
Makefile.common Makefile.common: Update a description, s/Source/SOURCES/ , according …
Makefile.config.in Turn anonymous type in anonymous union warning back on after cleaning up
Makefile.rules Turn anonymous type in anonymous union warning back on after cleaning up
README.txt Revert "Test commit"
configure Turn anonymous type in anonymous union warning back on after cleaning up
llvm.spec.in Tidy up. s/Low Level Virtual Machine/LLVM/.

README.txt

Low Level Virtual Machine (LLVM)
================================

This directory and its subdirectories contain source code for the Low Level
Virtual Machine, 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're writing a package for LLVM, see docs/Packaging.rst for our
suggestions.
Something went wrong with that request. Please try again.