Go to file
Justin Bogner 08154bf3d2 IR: Make the X / undef -> undef fold match the comment
The constant folding for sdiv and udiv has a big discrepancy between the
comments and the code, which looks like a typo. Currently, we're folding
X / undef pretty inconsistently:

  0 / undef -> undef
  C / undef -> 0
  undef / undef -> 0

Whereas the comments state we do X / undef -> undef. The logic that
returns zero is actually commented as doing undef / X -> 0, despite that
the LHS isn't undef in many of the cases that hit it.

llvm-svn: 261813
2016-02-25 01:02:18 +00:00
clang Fix assertion failure on MaybeODRUseExprs. 2016-02-24 23:05:43 +00:00
clang-tools-extra [clang-tidy] Another attempt to fix MSVC build 2016-02-25 00:39:11 +00:00
compiler-rt [CMake] Fix a really simple, silly bug from r261797 2016-02-24 22:42:47 +00:00
debuginfo-tests New round of fixes for "Always compile debuginfo-tests for the host triple" 2014-10-18 23:47:59 +00:00
libclc math: Fix ilogb(double) return type 2016-02-24 00:52:15 +00:00
libcxx Fix a missing closing tag 2016-02-23 19:48:44 +00:00
libcxxabi [libcxxabi] Teach cxa_demangle about Hexagon's long double size 2016-01-20 14:10:23 +00:00
libunwind [AArch64] Fix libunwind build when using GNU assembler 2016-02-11 21:22:57 +00:00
lld Make test more portable. 2016-02-24 22:47:41 +00:00
lldb Fix "target modules add -s <filename>" to work if the file doesn't exist locally on the current machine. 2016-02-25 00:56:47 +00:00
llgo [llgo] Force exporting __morestack from llgoi 2015-11-27 04:46:46 +00:00
llvm IR: Make the X / undef -> undef fold match the comment 2016-02-25 01:02:18 +00:00
openmp Remove unnecessary semicolons after braces 2016-02-18 19:38:25 +00:00
polly Introduce ScopStmt::getRegionNode(). NFC. 2016-02-24 22:08:28 +00:00