Skip to content
Commit a0abe629 authored by Nuno Lopes's avatar Nuno Lopes
Browse files

make ScalarExprEmitter::EmitCompare() emit the expression with the correct...

make ScalarExprEmitter::EmitCompare() emit the expression with the correct type instead of always zext it to an int
this fixes codegen of simple exprs in C++ like 'if (x != 0)'

llvm-svn: 62060
parent fd22768b
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment