[PATCH] D102344: [SCEV]: Teach SCEV about llvm.annotation intrinsic

Michael Kruse via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 12 19:31:19 PDT 2021


Meinersbur added a comment.

testcase <https://reviews.llvm.org/file/data/jej6j7yzekjybkn2jgpk/PHID-FILE-z6brbbyniawgnh36elcl/meme-test_case>

>From the language reference:

> they are ignored by code generation and optimization.

I agree that this means the annotation can be ignored. But it returning the first argument (as mentioned in the summary) is not sufficient to conclude that, e.g. it could have side effects.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D102344/new/

https://reviews.llvm.org/D102344



More information about the llvm-commits mailing list