]> granicus.if.org Git - llvm/commit
[GlobalISel]: Fix a bug where we could dereference None
authorAditya Nandakumar <aditya_nandakumar@apple.com>
Mon, 9 Sep 2019 22:51:41 +0000 (22:51 +0000)
committerAditya Nandakumar <aditya_nandakumar@apple.com>
Mon, 9 Sep 2019 22:51:41 +0000 (22:51 +0000)
commitd417693e472d373ad0b6a3bcce04a1184ab07bfc
treebeda6262625b777f51e10749fa5380b84e5d8c6c
parent70a8e606fb7d72d02598e6042da3e65b2ef02811
[GlobalISel]: Fix a bug where we could dereference None

getConstantVRegVal returns None when dealing with constants > 64 bits.
Don't assume we always have a value in GISelKnownBits.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@371465 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/GlobalISel/GISelKnownBits.cpp