aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorPetar Jovanovic <petar.jovanovic@mips.com>2018-09-24 14:14:19 +0000
committerPetar Jovanovic <petar.jovanovic@mips.com>2018-09-24 14:14:19 +0000
commitf9808c5f09d58cb3e1e744a232b9ea390669b2c1 (patch)
tree9d9a3bc6bd391b0cab91dbf4db23d3825330a918 /clang/lib/CodeGen/CodeGenModule.cpp
parent7c142a52e2db5df508fc665c2cc28cbd0ae00ac5 (diff)
downloadllvm-f9808c5f09d58cb3e1e744a232b9ea390669b2c1.zip
llvm-f9808c5f09d58cb3e1e744a232b9ea390669b2c1.tar.gz
llvm-f9808c5f09d58cb3e1e744a232b9ea390669b2c1.tar.bz2
[Mips][FastISel] Fix selectBranch on icmp i1
The r337288 tried to fix result of icmp i1 when its input is not sanitized by falling back to DagISel. While it now produces the correct result for bit 0, the other bits can still hold arbitrary value which is not supported by MipsFastISel branch lowering. This patch fixes the issue by falling back to DagISel in this case. Patch by Dragan Mladjenovic. Differential Revision: https://reviews.llvm.org/D52045 llvm-svn: 342884
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions