[PATCH] D9403: llvm.noalias - Clang CodeGen for local restrict-qualified pointers

Hal Finkel via cfe-commits cfe-commits at lists.llvm.org
Sat Jul 9 11:57:16 PDT 2016


hfinkel updated this revision to Diff 63394.
hfinkel added a comment.
Herald added a subscriber: mcrosier.

Rebased. Recursive AST visitor (which John pointed out was bad because it caused quadratic behavior and was wasteful in terms of code size) replaced with a function with some loops over the statements in each compound statement.


http://reviews.llvm.org/D9403

Files:
  lib/CodeGen/CGDecl.cpp
  lib/CodeGen/CGExpr.cpp
  lib/CodeGen/CGStmt.cpp
  lib/CodeGen/CodeGenFunction.cpp
  lib/CodeGen/CodeGenFunction.h
  test/CodeGen/noalias.c
  test/OpenMP/taskloop_firstprivate_codegen.cpp
  test/OpenMP/taskloop_lastprivate_codegen.cpp
  test/OpenMP/taskloop_private_codegen.cpp
  test/OpenMP/taskloop_simd_firstprivate_codegen.cpp
  test/OpenMP/taskloop_simd_lastprivate_codegen.cpp
  test/OpenMP/taskloop_simd_private_codegen.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9403.63394.patch
Type: text/x-patch
Size: 28688 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160709/08288ab6/attachment-0001.bin>


More information about the cfe-commits mailing list