[all-commits] [llvm/llvm-project] c90681: [Attributor][FIX] Don't crash on ptr2int/int2ptr i...
Johannes Doerfert via All-commits
all-commits at lists.llvm.org
Fri Jan 3 08:44:50 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: c90681b681a7a45cf5bf515d1904e2015f7ed524
https://github.com/llvm/llvm-project/commit/c90681b681a7a45cf5bf515d1904e2015f7ed524
Author: Johannes Doerfert <johannes at jdoerfert.de>
Date: 2020-01-03 (Fri, 03 Jan 2020)
Changed paths:
M llvm/lib/Transforms/IPO/Attributor.cpp
M llvm/test/Transforms/Attributor/align.ll
Log Message:
-----------
[Attributor][FIX] Don't crash on ptr2int/int2ptr instructions
An integer isn't allowed in getAlignmentForValue so we need to stop at a
ptr2int instruction during exploration.
More information about the All-commits
mailing list