[LLVMdev] removing dead function calls

Anton Korobeynikov anton at korobeynikov.info
Sun Jul 25 13:44:38 PDT 2010

> Is it even possible to define this attribute in clang?
> e.g. __attribute__(readnone) float sin(float x);
The corresponding gcc/clang attribute names are "const" and "pure".

With best regards, Anton Korobeynikov
Faculty of Mathematics and Mechanics, Saint Petersburg State University

More information about the llvm-dev mailing list