aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/AST/ByteCode/Compiler.cpp
diff options
context:
space:
mode:
authorSimon Pilgrim <llvm-dev@redking.me.uk>2025-08-08 17:02:50 +0100
committerGitHub <noreply@github.com>2025-08-08 17:02:50 +0100
commitc8312bdd1665225c585dd2b0bff5e46d569edd45 (patch)
tree5e5b2592461ed9fab989fac867a4f0843d11f458 /clang/lib/AST/ByteCode/Compiler.cpp
parent9ea1d39eadebeef0decd5505d07b2f186bce8722 (diff)
downloadllvm-c8312bdd1665225c585dd2b0bff5e46d569edd45.zip
llvm-c8312bdd1665225c585dd2b0bff5e46d569edd45.tar.gz
llvm-c8312bdd1665225c585dd2b0bff5e46d569edd45.tar.bz2
[Headers][X86] Enable constexpr handling for pmulhw/pmulhuw intrinsics (#152540)
This patch updates the pmulhw/pmulhuw builtins to support constant expression handling - extending the VectorExprEvaluator::VisitCallExpr handling code that handles elementwise integer binop builtins. Hopefully this can be used as reference patch to show how to add future target specific constexpr handling with minimal code impact. I've also enabled pmullw constexpr handling (which are tagged on #152490) as they all use very similar tests. I've also had to tweak the MMX -> SSE2 wrapper as undefs are not permitted in constexpr shuffle masks Fixes #152524
Diffstat (limited to 'clang/lib/AST/ByteCode/Compiler.cpp')
0 files changed, 0 insertions, 0 deletions