aboutsummaryrefslogtreecommitdiff
path: root/gcc/gimple.h
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2013-03-08 22:26:37 +0000
committerAldy Hernandez <aldyh@redhat.com>2013-03-08 22:26:37 +0000
commitbd1f8570b57024f50d3ff69cdf4d004d9abedbef (patch)
treea216d949954f2fa084d0f5e143e1be32b84e03fd /gcc/gimple.h
parent99b0a02c9b9300328196ea4f66c33bc31ac5fc58 (diff)
* trans-mem.c (expand_transaction): Do not set PR_INSTRUMENTEDCODE
if GTMA_HAS_NO_INSTRUMENTATION. (generate_tm_state): Keep GTMA_HAS_NO_INSTRUMENTATION bit. (ipa_tm_transform_transaction): Set GTMA_HAS_NO_INSTRUMENTATION. * gimple.h (GTMA_HAS_NO_INSTRUMENTATION): Define. * gimple-pretty-print.c (dump_gimple_transaction): Handle GTMA_HAS_NO_INSTRUMENTATION. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@196562 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/gimple.h')
-rw-r--r--gcc/gimple.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/gimple.h b/gcc/gimple.h
index 4bd6b3d71cc..1bbd7d76a11 100644
--- a/gcc/gimple.h
+++ b/gcc/gimple.h
@@ -661,6 +661,9 @@ struct GTY(()) gimple_statement_omp_atomic_store {
tell the runtime that it should begin the transaction in
serial-irrevocable mode. */
#define GTMA_DOES_GO_IRREVOCABLE (1u << 6)
+/* The transaction contains no instrumentation code whatsover, most
+ likely because it is guaranteed to go irrevocable upon entry. */
+#define GTMA_HAS_NO_INSTRUMENTATION (1u << 7)
struct GTY(()) gimple_statement_transaction
{