OSDN Git Service

Bug 19348: Check for legal ExtLoad operation before folding
authorMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 8 Apr 2014 21:40:37 +0000 (21:40 +0000)
committerMatt Arsenault <Matthew.Arsenault@amd.com>
Tue, 8 Apr 2014 21:40:37 +0000 (21:40 +0000)
commit15073192996d5591e2ec21ac03809c504d10aa09
tree26081a4daacb1d5895e9280da393e1f13fd046fe
parenta83f78786e1e389c8e10f055d9489b7c890a4cce
Bug 19348: Check for legal ExtLoad operation before folding

(aext (zextload x)) -> (aext (truncate (*extload x)))

Patch by Stanislav Mekhanoshin!

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@205805 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/SelectionDAG/DAGCombiner.cpp