summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/MachineBlockPlacement.cpp
diff options
context:
space:
mode:
authorAmara Emerson <aemerson@apple.com>2019-04-12 21:31:21 +0000
committerAmara Emerson <aemerson@apple.com>2019-04-12 21:31:21 +0000
commit2806fd01a126174acf4dba0ebb2f8a82e39e3090 (patch)
tree6dbcc9be6bc0386849d2ce9f875af422fd9d439c /llvm/lib/CodeGen/MachineBlockPlacement.cpp
parentb6e6d3c740a4b94a64ad62745a18571f1a9cb3cb (diff)
downloadbcm5719-llvm-2806fd01a126174acf4dba0ebb2f8a82e39e3090.tar.gz
bcm5719-llvm-2806fd01a126174acf4dba0ebb2f8a82e39e3090.zip
[AArch64][GlobalISel] Fix a crash when selecting shufflevectors with an undef mask element.
If a shufflevector's mask vector has an element with "undef" then the generic instruction defining that element register is a G_IMPLICT_DEF instead of G_CONSTANT. This fixes the selector to handle this case, and for now assumes that undef just means zero. In future we'll optimize this case properly. llvm-svn: 358312
Diffstat (limited to 'llvm/lib/CodeGen/MachineBlockPlacement.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud