[PATCH] D46349: [X86] Mark builtins 'const' where possible
Craig Topper via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue May 1 22:12:35 PDT 2018
craig.topper created this revision.
craig.topper added reviewers: spatel, RKSimon, echristo, eli.friedman.
I attempted to go through all the builtins and marked them const if they didn't touch memory or other hidden state.
I don't know how to test this either or if it really matters.
https://reviews.llvm.org/D46349
Files:
include/clang/Basic/BuiltinsX86.def
include/clang/Basic/BuiltinsX86_64.def
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D46349.144832.patch
Type: text/x-patch
Size: 229486 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180502/88290a45/attachment-0001.bin>
More information about the cfe-commits
mailing list