Fix PR4152: asm constraint validation happens before dag combine, so we
authorChris Lattner <sabre@nondot.org>
Fri, 8 May 2009 18:23:14 +0000 (18:23 +0000)
committerChris Lattner <sabre@nondot.org>
Fri, 8 May 2009 18:23:14 +0000 (18:23 +0000)
commit49921963220485efb9610a45cb21952dd0cdb67f
tree332aa99786f8c6b1307eadf0aa0f9eb9baa53f89
parent2a6e0a2140f3fc3597fdefa8c4179a230b29b267
Fix PR4152: asm constraint validation happens before dag combine, so we
need to work a bit to combine things like (x+c1+c2) into x+c3.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71232 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Target/X86/X86ISelLowering.cpp
test/CodeGen/X86/2009-05-08-InlineAsmIOffset.ll [new file with mode: 0644]