diff options
author | Alex Light <allight@google.com> | 2020-04-03 15:42:30 -0700 |
---|---|---|
committer | Treehugger Robot <treehugger-gerrit@google.com> | 2020-06-17 18:07:32 +0000 |
commit | 289bd1cccdb3aa37e2d129980f5c151f52f84897 (patch) | |
tree | d7390d83a68045c61d7f3bc950cef8f398ee3993 /compiler/compiler.h | |
parent | 2b74f60158fe85192c4f9b8810fe3cdffabe4198 (diff) |
Make GVN handle HDeoptimize better
The GVN system didn't handle the deoptimization very well since
deoptimize is a predicated operation. This means that HDeoptimize
needs to prevent some code motion but if it isn't taken the operation
has no effect. This confused the GVN system into thinking that it
cannot merge deoptimizations. To fix this we special cased the side
effects GVN considers deoptimizations to have.
Test: ./test.py --host
Change-Id: Ic79d975f9ae584a07026647cee2768ed1105e5a9
Diffstat (limited to 'compiler/compiler.h')
0 files changed, 0 insertions, 0 deletions