aboutsummaryrefslogtreecommitdiff
path: root/clang/unittests/Interpreter/InterpreterTest.cpp
diff options
context:
space:
mode:
authorSanjay Patel <spatel@rotateright.com>2022-07-29 17:02:47 -0400
committerSanjay Patel <spatel@rotateright.com>2022-07-29 17:14:30 -0400
commitd4940c0f3d433ca5bab66d1e6a5170059c38a10a (patch)
tree4d923ac39665b3deb81bd87e7290a945ca40ba65 /clang/unittests/Interpreter/InterpreterTest.cpp
parente637feee80f94d23950d25673b6c2e0d46d335a9 (diff)
downloadllvm-d4940c0f3d433ca5bab66d1e6a5170059c38a10a.zip
llvm-d4940c0f3d433ca5bab66d1e6a5170059c38a10a.tar.gz
llvm-d4940c0f3d433ca5bab66d1e6a5170059c38a10a.tar.bz2
[InstCombine] fix miscompile from urem/udiv transform with constant expression
The isa<Constant> check could misfire on an instruction with 2 constant operands. This bug was introduced with bb789381fc11cce (D36988). See issue #56810 for a C source example that exposed the bug.
Diffstat (limited to 'clang/unittests/Interpreter/InterpreterTest.cpp')
0 files changed, 0 insertions, 0 deletions