[all-commits] [llvm/llvm-project] 1e770f: [ARM] ARMDAGToDAGISel::tryReadRegister/tryWriteReg...
Simon Pilgrim via All-commits
all-commits at lists.llvm.org
Tue Aug 17 10:41:20 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 1e770f0388c92bdb5bd474b8c4a8fce4f0c62b74
https://github.com/llvm/llvm-project/commit/1e770f0388c92bdb5bd474b8c4a8fce4f0c62b74
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2021-08-17 (Tue, 17 Aug 2021)
Changed paths:
M llvm/lib/Target/ARM/ARMISelDAGToDAG.cpp
Log Message:
-----------
[ARM] ARMDAGToDAGISel::tryReadRegister/tryWriteRegister - don't dereference dyn_cast<> results.
dyn_cast<> can return nullptr if the cast is illegal, use cast<> instead which will assert that the cast is correct.
Fixes static analyser warnings.
Commit: caff2acae13eebb83ca2f648ad787ab77c6e6271
https://github.com/llvm/llvm-project/commit/caff2acae13eebb83ca2f648ad787ab77c6e6271
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2021-08-17 (Tue, 17 Aug 2021)
Changed paths:
M llvm/lib/Target/AArch64/AArch64ISelDAGToDAG.cpp
Log Message:
-----------
[AArch64] AArch64DAGToDAGISel::tryReadRegister/tryWriteRegister - don't dereference dyn_cast<> results.
dyn_cast<> can return nullptr if the cast is illegal, use cast<> instead which will assert that the cast is correct.
Fixes static analyser warnings.
Commit: d7f288502fcacfb261a03d12cdf2261d3425815a
https://github.com/llvm/llvm-project/commit/d7f288502fcacfb261a03d12cdf2261d3425815a
Author: Simon Pilgrim <llvm-dev at redking.me.uk>
Date: 2021-08-17 (Tue, 17 Aug 2021)
Changed paths:
M llvm/lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
Log Message:
-----------
SelectionDAGBuilder::visitInlineAsm - don't dereference dyn_cast<> results.
dyn_cast<> can return nullptr if the cast is illegal, use cast<> instead which will assert that the cast is correct.
Fixes static analyser warning.
Compare: https://github.com/llvm/llvm-project/compare/dc0d4b97a2c2...d7f288502fca
More information about the All-commits
mailing list