aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/StackProtector.cpp
diff options
context:
space:
mode:
authorQuentin Colombet <qcolombet@apple.com>2013-06-19 19:59:41 +0000
committerQuentin Colombet <qcolombet@apple.com>2013-06-19 19:59:41 +0000
commit145eb97d3a8a1f2766a891003c659483dcf15681 (patch)
tree3c930c4ff7ceca99dbdfbd8aadc2a2afaae7453d /llvm/lib/CodeGen/StackProtector.cpp
parenta3555e24169781d7b923a4c928313420ee1a4a8e (diff)
downloadllvm-145eb97d3a8a1f2766a891003c659483dcf15681.zip
llvm-145eb97d3a8a1f2766a891003c659483dcf15681.tar.gz
llvm-145eb97d3a8a1f2766a891003c659483dcf15681.tar.bz2
LSR: Fix the parameters used to compute the scaling factor cost.
Prior to this change, the considered addressing modes may be invalid since the maximum and minimum offsets were not taking into account. This was causing an assertion failure. The added test case exercices that behavior. <rdar://problem/14199725> Assertion failed: (CurScaleCost >= 0 && "Legal addressing mode has an illegal cost!") llvm-svn: 184341
Diffstat (limited to 'llvm/lib/CodeGen/StackProtector.cpp')
0 files changed, 0 insertions, 0 deletions