Fix a bug in the type-lowering of integer-promoted elements. Add a check that
authorNadav Rotem <nadav.rotem@intel.com>
Fri, 17 Jun 2011 20:54:12 +0000 (20:54 +0000)
committerNadav Rotem <nadav.rotem@intel.com>
Fri, 17 Jun 2011 20:54:12 +0000 (20:54 +0000)
commitda26ad501b9125c323f58f756826cf17114a9e6f
tree5d69d8dc22c6e915617439931a7c1c5990673921
parent6d6c55bc270d1bee8561d3ce00d2ca9ced3bb506
Fix a bug in the type-lowering of integer-promoted elements. Add a check that
the newly created simple type is valid before checking its legality.
Re-commit the test file.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@133291 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/Target/TargetLowering.h
test/CodeGen/X86/mem-promote-integers.ll [new file with mode: 0644]