]> granicus.if.org Git - llvm/commit
Fix incorrect invariant check in DAG Combine
authorLouis Gerbarg <lgg@apple.com>
Thu, 30 Oct 2014 22:21:03 +0000 (22:21 +0000)
committerLouis Gerbarg <lgg@apple.com>
Thu, 30 Oct 2014 22:21:03 +0000 (22:21 +0000)
commit4c77b290822d5c2d54beb15ce099f9c10ffbda7f
tree2d9174f298629ebce3d704c5e4c1285893ed9766
parent8744520b533617fbbd55ef12ea936961f5225cf5
Fix incorrect invariant check in DAG Combine

Earlier this summer I fixed an issue where we were incorrectly combining
multiple loads that had different constraints such alignment, invariance,
temporality, etc. Apparently in one case I made copt paste error and swapped
alignment and invariance.

Tests included.

rdar://18816719

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@220933 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
test/CodeGen/AArch64/dag-combine-invaraints.ll [new file with mode: 0644]