summaryrefslogtreecommitdiffstats
path: root/llvm/test/CodeGen
diff options
context:
space:
mode:
authorReed Kotler <rkotler@mips.com>2013-03-18 22:18:00 +0000
committerReed Kotler <rkotler@mips.com>2013-03-18 22:18:00 +0000
commit7ee730414dc1f449e3de059f70a3d8a7fd1ea5fb (patch)
treedad35ef0fda497a0fb8953f7dbf627c34f472a2b /llvm/test/CodeGen
parent45bdbe7ec029bce839080c14e40fb222cd428d02 (diff)
downloadbcm5719-llvm-7ee730414dc1f449e3de059f70a3d8a7fd1ea5fb.tar.gz
bcm5719-llvm-7ee730414dc1f449e3de059f70a3d8a7fd1ea5fb.zip
This code works around what appears to be a bug in another part of clang.
I have filed http://llvm.org/bugs/show_bug.cgi?id=15538 against clang. This code is safer anyway because "cast" assumes you really know that it's okay to make the cast. In this case isa should not be false and dyn_cast should not return null as far as I understand. But everything else is valid so I did not want to revert my previous patch for attributes mips16/nomips16 or use an llvm_unreachable here which would make a number of our tests fail for mips. llvm-svn: 177329
Diffstat (limited to 'llvm/test/CodeGen')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud