Displaying 1 result from an estimated 1 matches for "instalignment".
2011 Jul 19
8
[LLVMdev] Reviving the new LLVM concurrency model
...all
// of the exit blocks. If it doesn't, then there is a path out of the loop
// which does not execute this instruction, so we can't hoist it.
@@ -713,34 +722,37 @@
// If there is an non-load/store instruction in the loop, we can't promote
// it.
- unsigned InstAlignment;
- if (LoadInst *load = dyn_cast<LoadInst>(Use)) {
+ if (isa<LoadInst>(Use)) {
assert(!cast<LoadInst>(Use)->isVolatile() && "AST broken");
- InstAlignment = load->getAlignment();
} else if (StoreInst *store = dyn_cast<Sto...