summaryrefslogtreecommitdiffstats
path: root/clang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2017-02-14 20:56:18 +0000
committerTim Northover <tnorthover@apple.com>2017-02-14 20:56:18 +0000
commitc2f8956313bb4d32f4af13b097033b20cec0b3f4 (patch)
tree98794f9718339b25872e16a8502373f3a7b3b9d4 /clang/lib/Frontend/CompilerInvocation.cpp
parentee29e42b3341e6d14bb55f9ad532941343a89a2f (diff)
downloadbcm5719-llvm-c2f8956313bb4d32f4af13b097033b20cec0b3f4.tar.gz
bcm5719-llvm-c2f8956313bb4d32f4af13b097033b20cec0b3f4.zip
GlobalISel: introduce G_PTR_MASK to simplify alloca handling.
This instruction clears the low bits of a pointer without requiring (possibly dodgy if pointers aren't ints) conversions to and from an integer. Since (as far as I'm aware) all masks are statically known, the instruction takes an immediate operand rather than a register to specify the mask. llvm-svn: 295103
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud