It does not return 0 to indicate failure, and returns the known alignment.
Diff Detail
Diff Detail
| Paths 
 |  Differential  D24436  
Fix misleading comment for getOrEnforceKnownAlignment ClosedPublic Authored by arsenm on Sep 9 2016, 6:12 PM. 
Details 
Diff Detail Event Timelinearsenm updated this object. This revision is now accepted and ready to land.Sep 9 2016, 7:47 PM 
Revision Contents 
Diff 70938 include/llvm/Transforms/Utils/Local.h
 lib/Transforms/Utils/Local.cpp
 | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
This prep phrase is unwieldy. Can we rephrase? (I'd give a suggestion but I'm not actually sure what it means.)