[mono/llvm] bf311366: Get rid of the 'mono.noalias' metadata flag, LLVM now has an equivalent 'invariant.load' metadata flag.
| Newsgroups | gmane.comp.gnome.mono.patches |
|---|---|
| Message-ID | <0000014235ec6f6d-c90f7bbc-a9f1-4f70-b181-84a9754d729e-000000@email.amazonses.com> |
Branch: refs/heads/mono
Home: https://github.com/mono/llvm
Compare: https://github.com/mono/llvm/compare/8bdedb58a7a8...bf311366ec00
Commit: bf311366ec00ce92f81f82446ada7eebd894abf2
Author: Zoltan Varga <[email protected]> (vargaz)
Date: 2013-11-08 04:14:31 GMT
URL: https://github.com/mono/llvm/commit/bf311366ec00ce92f81f82446ada7eebd894abf2
Get rid of the 'mono.noalias' metadata flag, LLVM now has an equivalent 'invariant.load' metadata flag.
Changed paths:
M lib/Transforms/Scalar/LICM.cpp
Modified: lib/Transforms/Scalar/LICM.cpp
===================================================================
@@ -403,13 +403,6 @@ bool LICM::canSinkOrHoistInst(Instruction &I) {
if (LI->getMetadata("invariant.load"))
return true;
- //
- // Mono extension, the metadata identifies loads which load from constant memory,
- // so they can't be alised by any stores.
- //
- if (I.getMetadata("mono.noalias"))
- return true;
-
// Don't hoist loads which have may-aliased stores in loop.
uint64_t Size = 0;
if (LI->getType()->isSized())
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches