[GISel]: Attach missing range metadata while translating G_LOADs
authorAditya Nandakumar <aditya_nandakumar@apple.com>
Sun, 21 Jul 2019 14:07:54 +0000 (14:07 +0000)
committerAditya Nandakumar <aditya_nandakumar@apple.com>
Sun, 21 Jul 2019 14:07:54 +0000 (14:07 +0000)
commitd7504a1569dfd55db2e0314b3aef87df1f527e8d
tree0dad9317ed6de55e46fa4caa50bc09acf74e9593
parentc38899fc26eed018853c0089799983b7c771d801
[GISel]: Attach missing range metadata while translating G_LOADs

https://reviews.llvm.org/D65048

Attach range information to G_LOAD when only defining one register.

reviewed by: arsenm

llvm-svn: 366656
llvm/lib/CodeGen/GlobalISel/IRTranslator.cpp
llvm/test/CodeGen/AArch64/GlobalISel/arm64-irtranslator.ll