diff options
author | Jessica Paquette <jpaquette@apple.com> | 2019-04-26 21:53:13 +0000 |
---|---|---|
committer | Jessica Paquette <jpaquette@apple.com> | 2019-04-26 21:53:13 +0000 |
commit | 76f64b665bb12b0097a71c10b21a1d302bc84229 (patch) | |
tree | bd3329a931dad4ddc1fad5a5169e458df8a7de82 /lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp | |
parent | 5f163c7e2e62a6c003960930419998d223076538 (diff) | |
download | bcm5719-llvm-76f64b665bb12b0097a71c10b21a1d302bc84229.tar.gz bcm5719-llvm-76f64b665bb12b0097a71c10b21a1d302bc84229.zip |
[GlobalISel][AArch64] Use getConstantVRegValWithLookThrough for extracts
getConstantVRegValWithLookThrough does the same thing as the
getConstantValueForReg function, and has more visibility across GISel. Plus, it
supports looking through G_TRUNC, G_SEXT, and G_ZEXT. So, we get better code
reuse and more functionality for free by using it.
Add some test cases to select-extract-vector-elt.mir to show that we can now
look through those instructions.
llvm-svn: 359351
Diffstat (limited to 'lldb/source/Plugins/ScriptInterpreter/Python/ScriptInterpreterPython.cpp')
0 files changed, 0 insertions, 0 deletions