1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 11:42:57 +01:00
Go to file
Jin-Gu Kang 5000ba8961 Add comment as following:
load and store reference same memory location, the memory location
is represented by getelementptr with two uses (load and store) and
the getelementptr's base is alloca with single use. At this point,
instructions from alloca to store can be removed.
(this pattern is generated when bitfield is accessed.)
For example,
%u = alloca %struct.test, align 4               ; [#uses=1]
%0 = getelementptr inbounds %struct.test* %u, i32 0, i32 0;[#uses=2]
%1 = load i8* %0, align 4                       ; [#uses=1]
%2 = and i8 %1, -16                             ; [#uses=1]
%3 = or i8 %2, 5                                ; [#uses=1]
store i8 %3, i8* %0, align 4

llvm-svn: 127565
2011-03-13 14:05:51 +00:00
autoconf Missing file from previous commmit (127341) for InitializeTargetAsmParser function. 2011-03-09 18:36:40 +00:00
bindings
cmake Whe we build a shared library, add its list of used libraries to the 2011-03-12 16:48:54 +00:00
docs rip out llvm 2.8 release notes to make room for llvm 2.9 notes. 2011-03-10 07:43:44 +00:00
examples
include Speculatively revert commit 127478 (jsjodin) in an attempt to fix the 2011-03-12 13:07:37 +00:00
lib Add comment as following: 2011-03-13 14:05:51 +00:00
projects
runtime
test Teach ComputeMaskedBits about sub nsw. 2011-03-12 17:18:11 +00:00
tools LTO is not ready for Windows. 2011-03-13 03:06:59 +00:00
unittests Fixes warnings emitted by Visual Studio 2010 compiler. 2011-03-01 23:11:57 +00:00
utils Remove no-longer-correct special case for disasm of ARM BL instructions. 2011-03-12 01:05:29 +00:00
website
.gitignore
build-for-llvm-top.sh
CMakeLists.txt Change the next release number to 3.0svn. 2011-03-08 03:00:02 +00:00
configure Add InitializeNativeAsmParser function. 2011-03-09 17:25:46 +00:00
CREDITS.TXT
LICENSE.TXT
llvm.spec.in
Makefile
Makefile.common
Makefile.config.in
Makefile.rules Makefile.rules: [PR2928] "make install" may install include files along explicit pattern, not to install CMake's building stuff. 2011-03-09 09:11:27 +00:00
ModuleInfo.txt
README.txt Test commit. 2011-02-11 19:11:57 +00:00

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 HTML documentation provided in docs/index.html for further
assistance with LLVM.

If you're writing a package for LLVM, see docs/Packaging.html for our
suggestions.