diff options
author | Simon Pilgrim <llvm-dev@redking.me.uk> | 2021-10-22 18:19:02 +0100 |
---|---|---|
committer | Simon Pilgrim <llvm-dev@redking.me.uk> | 2021-10-22 18:32:14 +0100 |
commit | a5f56342b01765e33abbae97e087f93041a39353 (patch) | |
tree | 6a84d7cfd374b1e9530ab76882be703994b35b6a /llvm/unittests/Support/ErrorTest.cpp | |
parent | 412eb07edd4e83afeb1e727e91213e2cbd771f29 (diff) | |
download | llvm-a5f56342b01765e33abbae97e087f93041a39353.zip llvm-a5f56342b01765e33abbae97e087f93041a39353.tar.gz llvm-a5f56342b01765e33abbae97e087f93041a39353.tar.bz2 |
[DAG] narrowExtractedVectorLoad - EXTRACT_SUBVECTOR indices are always constant
EXTRACT_SUBVECTOR indices are always constant, we don't need to check for ConstantSDNode, we should just use getConstantOperandVal which will assert for the constant.
Diffstat (limited to 'llvm/unittests/Support/ErrorTest.cpp')
0 files changed, 0 insertions, 0 deletions