[PATCH] D31830: Emit invariant.group.barrier when using union field
Piotr Padlewski via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat May 27 08:04:06 PDT 2017
Prazek marked 2 inline comments as done.
Prazek added inline comments.
================
Comment at: lib/CodeGen/CGExpr.cpp:3530
+ return false;
+}
+
----------------
rjmccall wrote:
> You need to recurse into base classes (to check their fields), and if you write this to take a QualType you won't have to eagerly extract RD below.
Cool, thanks for the tip
https://reviews.llvm.org/D31830
More information about the cfe-commits
mailing list