summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target
diff options
context:
space:
mode:
authorTorok Edwin <edwintorok@gmail.com>2009-01-24 19:30:25 +0000
committerTorok Edwin <edwintorok@gmail.com>2009-01-24 19:30:25 +0000
commit3cedd4dc643b548da418a77609329d2922aafcb3 (patch)
tree267ba13481050ae430790e7e517cc21643d3a633 /llvm/lib/Target
parent134a02586e25f60811096c038492f4c8e17917da (diff)
downloadbcm5719-llvm-3cedd4dc643b548da418a77609329d2922aafcb3.tar.gz
bcm5719-llvm-3cedd4dc643b548da418a77609329d2922aafcb3.zip
add note about possible GEP improvement with fields of size 0.
llvm-svn: 62925
Diffstat (limited to 'llvm/lib/Target')
-rw-r--r--llvm/lib/Target/README.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/llvm/lib/Target/README.txt b/llvm/lib/Target/README.txt
index c679fd83c0d..78dcb12581c 100644
--- a/llvm/lib/Target/README.txt
+++ b/llvm/lib/Target/README.txt
@@ -1683,3 +1683,9 @@ Always foldable for odd constants, what is the rule for even?
//===---------------------------------------------------------------------===//
+PR 3381: GEP to field of size 0 inside a struct could be turned into GEP
+for next field in struct (which is at same address).
+
+For example: store of float into { {{}}, float } could be turned into a store to
+the float directly.
+
OpenPOWER on IntegriCloud