[PATCH] Have HasSideEffects() return false for __attribute__((const)) functions

Michael Kuperstein michael.m.kuperstein at intel.com
Mon Apr 6 04:28:41 PDT 2015


Added handling for pure and tweaked the tests a bit.


http://reviews.llvm.org/D8548

Files:
  lib/AST/Expr.cpp
  test/CodeGen/builtin-assume.c
  test/Sema/builtin-assume.c

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D8548.23267.patch
Type: text/x-patch
Size: 4236 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150406/ab551565/attachment.bin>


More information about the cfe-commits mailing list