summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenModule.cpp
diff options
context:
space:
mode:
authorDuncan Sands <baldrick@free.fr>2009-10-14 16:11:37 +0000
committerDuncan Sands <baldrick@free.fr>2009-10-14 16:11:37 +0000
commit8e6ccb65df1c5b529c8664222c6a690321b139d3 (patch)
tree59072db60eb7a4921f7e6c551b9585246f60e1a7 /clang/lib/CodeGen/CodeGenModule.cpp
parenta44822fdb6456cdc3a496494807ce16160ebb69e (diff)
downloadbcm5719-llvm-8e6ccb65df1c5b529c8664222c6a690321b139d3.tar.gz
bcm5719-llvm-8e6ccb65df1c5b529c8664222c6a690321b139d3.zip
I don't see any point in having both eh.selector.i32 and eh.selector.i64,
so get rid of eh.selector.i64 and rename eh.selector.i32 to eh.selector. Likewise for eh.typeid.for. This aligns us with gcc, which always uses a 32 bit value for the selector on all platforms. My understanding is that the register allocator used to assert if the selector intrinsic size didn't match the pointer size, and this was the reason for introducing the two variants. However my testing shows that this is no longer the case (I fixed some bugs in selector lowering yesterday, and some more today in the fastisel path; these might have caused the original problems). llvm-svn: 84106
Diffstat (limited to 'clang/lib/CodeGen/CodeGenModule.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud